From b90787290df216f511ec296c85390e645ca1e89f Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Wed, 1 Mar 2006 14:26:03 +0000 Subject: * TDD! Woohoo! --- tests/nix-build.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'tests/nix-build.sh') diff --git a/tests/nix-build.sh b/tests/nix-build.sh index 23f8ce9987..22980956be 100644 --- a/tests/nix-build.sh +++ b/tests/nix-build.sh @@ -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 -- cgit 1.4.1