aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
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"
}