aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorJohn Ericson <John.Ericson@Obsidian.Systems>2020-09-04 01:17:38 +0000
committerJohn Ericson <John.Ericson@Obsidian.Systems>2020-09-04 01:17:38 +0000
commitaad4abcc9c27d5c1a2349e40f51f076387e0f844 (patch)
tree6feff2254239cc48c9b75c52dc6741479516cd65 /tests
parent4409530fc948a038688c5f0505be2efd5af2b0df (diff)
Fix floating CA tests
We will sometimes try to query the outputs of derivations we can't resolve. That's fine; it just means we don't know what those outputs are yet.
Diffstat (limited to 'tests')
-rw-r--r--tests/content-addressed.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/content-addressed.sh b/tests/content-addressed.sh
index b2e94fe1e..34334b22d 100644
--- a/tests/content-addressed.sh
+++ b/tests/content-addressed.sh
@@ -9,7 +9,7 @@ testDerivation () {
local derivationPath=$1
local commonArgs=("--experimental-features" "ca-derivations" "./content-addressed.nix" "-A" "$derivationPath" "--no-out-link")
local out1 out2
- out1=$(set -e; nix-build "${commonArgs[@]}" --arg seed 1)
+ out1=$(nix-build "${commonArgs[@]}" --arg seed 1)
out2=$(nix-build "${commonArgs[@]}" --arg seed 2 "${secondSeedArgs[@]}")
test "$out1" == "$out2"
}