diff options
author | Eelco Dolstra <e.dolstra@tudelft.nl> | 2006-07-19T15·49+0000 |
---|---|---|
committer | Eelco Dolstra <e.dolstra@tudelft.nl> | 2006-07-19T15·49+0000 |
commit | 88e54153dce2cdba9a075d9dbc81ad81e7e73435 (patch) | |
tree | 91b34f0d26c1f773c66848cfa9d558a0b1081133 /tests/simple.sh | |
parent | 4f3725b167cc0080c570a814e28c6181ef5c7f52 (diff) |
* Add a precise test for hashDerivatioModulo.
Diffstat (limited to 'tests/simple.sh')
-rw-r--r-- | tests/simple.sh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/simple.sh b/tests/simple.sh index 7f7b48f2d91b..4d3377b29f39 100644 --- a/tests/simple.sh +++ b/tests/simple.sh @@ -17,3 +17,7 @@ if test "$text" != "Hello World!"; then exit 1; fi # be deleteable. $nixstore --delete $outPath if test -e $outPath/hello; then false; fi + +if test "$(NIX_STORE_DIR=/foo $nixinstantiate --readonly-mode hash-check.nix)" != "/foo/4hgkkq63lp8x5kmh9cmsyqimq5v42zzl-dependencies.drv"; then + echo "hashDerivationModulo appears broken" +fi |