1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-07-10 04:43:53 +02:00

* TDD! Woohoo!

This commit is contained in:
Eelco Dolstra 2006-03-01 14:26:03 +00:00
parent 089c41a0c2
commit b90787290d
5 changed files with 22 additions and 2 deletions

View file

@ -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