diff --git a/tests/dummy b/tests/dummy deleted file mode 100644 index 557db03de..000000000 --- a/tests/dummy +++ /dev/null @@ -1 +0,0 @@ -Hello World diff --git a/tests/simple.sh b/tests/simple.sh index 4f9f6e964..a94b6d185 100644 --- a/tests/simple.sh +++ b/tests/simple.sh @@ -18,6 +18,7 @@ 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"