summary refs log tree commit diff
path: root/tests
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2008-12-03 16:15:38 +0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2008-12-03 16:15:38 +0000
commitd95b68fde32ab9f6b6aac052604b90b5ce4523d7 (patch)
treee629c0af5bf16c9081435a408aee6c8dc5082227 /tests
parentff762fb499be220ccd680f3bf68dca44a902a5ff (diff)
downloadguix-d95b68fde32ab9f6b6aac052604b90b5ce4523d7.tar.gz
Diffstat (limited to 'tests')
-rw-r--r--tests/init.sh2
-rw-r--r--tests/simple.sh1
2 files changed, 2 insertions, 1 deletions
diff --git a/tests/init.sh b/tests/init.sh
index c7d21ba076..bcff1e240d 100644
--- a/tests/init.sh
+++ b/tests/init.sh
@@ -104,3 +104,5 @@ $nixstore --init
 # Did anything happen?
 test -e "$NIX_DB_DIR"/info
 test -e "$NIX_DB_DIR"/referrer
+
+echo 'Hello World' > ./dummy
diff --git a/tests/simple.sh b/tests/simple.sh
index a94b6d1853..4f9f6e964a 100644
--- a/tests/simple.sh
+++ b/tests/simple.sh
@@ -18,7 +18,6 @@ if test "$text" != "Hello World!"; then exit 1; fi
 $nixstore --delete $outPath
 if test -e $outPath/hello; then false; fi
 
-echo 'Hello World' > ./dummy
 outPath="$(NIX_STORE_DIR=/foo $nixinstantiate --readonly-mode hash-check.nix)"
 if test "$outPath" != "/foo/lfy1s6ca46rm5r6w4gg9hc0axiakjcnm-dependencies.drv"; then
     echo "hashDerivationModulo appears broken, got $outPath"