* TDD! Woohoo!
This commit is contained in:
parent
089c41a0c2
commit
b90787290d
5 changed files with 22 additions and 2 deletions
|
|
@ -6,7 +6,9 @@ $nixstore --gc
|
|||
test "$(cat $TEST_ROOT/result/foobar)" = FOOBAR
|
||||
|
||||
# The result should be retained by a GC.
|
||||
target=$(ls -l $TEST_ROOT/result | sed 's/.*->\ //')
|
||||
echo A
|
||||
target=$(readLink $TEST_ROOT/result)
|
||||
echo B
|
||||
echo target is $target
|
||||
$nixstore --gc
|
||||
test -e $target/foobar
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue