From 246f0eed82449c995911b08db7857926dba7e32f Mon Sep 17 00:00:00 2001 From: Emily Date: Sun, 3 Aug 2025 19:05:06 +0100 Subject: [PATCH] tests: remove obsolete code to create custom build directories We now do in fact do this and decide this. Change-Id: I6a6a69643af2449370df001f8be787eba889b857 --- tests/functional/check.sh | 3 --- 1 file changed, 3 deletions(-) diff --git a/tests/functional/check.sh b/tests/functional/check.sh index 241810f6b..87fb5e245 100644 --- a/tests/functional/check.sh +++ b/tests/functional/check.sh @@ -37,9 +37,6 @@ if checkBuildTempDirRemoved $TEST_ROOT/log; then false; fi test_custom_build_dir() { local customBuildDir="$TEST_ROOT/custom-build-dir" - # Nix does not create the parent directories, and perhaps it shouldn't try to - # decide the permissions of build-dir. - mkdir "$customBuildDir" nix-build check.nix -A failed --argstr checkBuildId $checkBuildId \ --no-out-link --keep-failed --option build-dir "$TEST_ROOT/custom-build-dir" 2> $TEST_ROOT/log || status=$? [ "$status" = "100" ]