about summary refs log tree commit diff
path: root/tests/case-hack.sh
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2014-08-21T19·50+0200
committerEelco Dolstra <eelco.dolstra@logicblox.com>2014-08-21T19·50+0200
commit3f80060500bb3a9dff192c11af63da7364673ab0 (patch)
tree49aa943001a44d1db7f5fdb1e87d15f55f67bfa3 /tests/case-hack.sh
parent809ca33806d75eeabb9c668b124762fb6462e5bc (diff)
Fix tests
So all these years I was totally deluded about the meaning of "set
-e". You might think that it causes statements like "false && true" or
"! true" to fail, but it doesn't...
Diffstat (limited to 'tests/case-hack.sh')
-rw-r--r--tests/case-hack.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/case-hack.sh b/tests/case-hack.sh
index ebc7cb1d5d..61bf9b94bf 100644
--- a/tests/case-hack.sh
+++ b/tests/case-hack.sh
@@ -16,4 +16,4 @@ cmp case.nar $TEST_ROOT/case.nar
 # Check whether we detect true collisions (e.g. those remaining after
 # removal of the suffix).
 touch "$TEST_ROOT/case/xt_CONNMARK.h~nix~case~hack~3"
-! nix-store $opts --dump $TEST_ROOT/case > /dev/null
+(! nix-store $opts --dump $TEST_ROOT/case > /dev/null)