* 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

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