diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2012-09-11T23·14-0400 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2012-09-11T23·14-0400 |
commit | d4c3b6327ff88273462cec57b0e2805d333c386e (patch) | |
tree | 2bf147475b21a67109a4aea0f1a95f76dd5712ea /tests/fixed.sh | |
parent | 1f7901ec3b66fa80203bbac2cd6852eda389ba18 (diff) |
Don't put results symlinks in the tests directory
Diffstat (limited to 'tests/fixed.sh')
-rw-r--r-- | tests/fixed.sh | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/fixed.sh b/tests/fixed.sh index 164791564b9a..ed0d06dd29cb 100644 --- a/tests/fixed.sh +++ b/tests/fixed.sh @@ -6,13 +6,13 @@ export IMPURE_VAR1=foo export IMPURE_VAR2=bar echo 'testing good...' -nix-build fixed.nix -A good +nix-build fixed.nix -A good --no-out-link echo 'testing good2...' -nix-build fixed.nix -A good2 +nix-build fixed.nix -A good2 --no-out-link echo 'testing bad...' -nix-build fixed.nix -A bad && fail "should fail" +nix-build fixed.nix -A bad --no-out-link && fail "should fail" echo 'testing reallyBad...' nix-instantiate fixed.nix -A reallyBad && fail "should fail" @@ -25,12 +25,12 @@ test $(nix-instantiate fixed.nix -A good.1 | wc -l) = 1 # Only one should run at the same time. echo 'testing parallelSame...' clearStore -nix-build fixed.nix -A parallelSame -j2 +nix-build fixed.nix -A parallelSame --no-out-link -j2 # Fixed-output derivations with a recursive SHA-256 hash should # produce the same path as "nix-store --add". echo 'testing sameAsAdd...' -out=$(nix-build fixed.nix -A sameAsAdd) +out=$(nix-build fixed.nix -A sameAsAdd --no-out-link) # This is what fixed.builder2 produces... rm -rf $TEST_ROOT/fixed |