mirror of
https://github.com/NixOS/nix
synced 2025-07-10 04:43:53 +02:00
* TDD! Woohoo!
This commit is contained in:
parent
089c41a0c2
commit
b90787290d
5 changed files with 22 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue