diff options
author | Eelco Dolstra <e.dolstra@tudelft.nl> | 2006-03-01 14:26:03 +0000 |
---|---|---|
committer | Eelco Dolstra <e.dolstra@tudelft.nl> | 2006-03-01 14:26:03 +0000 |
commit | b90787290df216f511ec296c85390e645ca1e89f (patch) | |
tree | c269893e2d19f6bac41bce4fbd77b3c5f1b09812 /tests/simple.sh | |
parent | 089c41a0c2ecf91c55495547a5462d75f36be5f4 (diff) |
* TDD! Woohoo!
Diffstat (limited to 'tests/simple.sh')
-rw-r--r-- | tests/simple.sh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/simple.sh b/tests/simple.sh index 225e7c522..a2242e34e 100644 --- a/tests/simple.sh +++ b/tests/simple.sh @@ -10,3 +10,8 @@ echo "output path is $outPath" text=$(cat "$outPath"/hello) if test "$text" != "Hello World!"; then exit 1; fi + +# Directed delete: $outPath is not reachable from a root, so it should +# be deleteable. +$nixstore --delete $outPath +if test -e $outPath/hello; then false; fi |