From d95b68fde32ab9f6b6aac052604b90b5ce4523d7 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Wed, 3 Dec 2008 16:15:38 +0000 Subject: [PATCH] --- tests/init.sh | 2 ++ tests/simple.sh | 1 - 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/init.sh b/tests/init.sh index c7d21ba07..bcff1e240 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 a94b6d185..4f9f6e964 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"