From d4c3b6327ff88273462cec57b0e2805d333c386e Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Tue, 11 Sep 2012 19:14:15 -0400 Subject: Don't put results symlinks in the tests directory --- tests/multiple-outputs.nix | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'tests/multiple-outputs.nix') diff --git a/tests/multiple-outputs.nix b/tests/multiple-outputs.nix index 6add7dd6f997..4a9010d1868e 100644 --- a/tests/multiple-outputs.nix +++ b/tests/multiple-outputs.nix @@ -9,8 +9,9 @@ rec { '' mkdir $first $second test -z $all - echo "second" > $first/file - echo "first" > $second/file + echo "first" > $first/file + echo "second" > $second/file + ln -s $first $second/link ''; helloString = "Hello, world!"; }; @@ -26,8 +27,8 @@ rec { mkdir $out test "$firstOutput $secondOutput" = "$allOutputs" test "$defaultOutput" = "$firstOutput" - test "$(cat $firstOutput/file)" = "second" - test "$(cat $secondOutput/file)" = "first" + test "$(cat $firstOutput/file)" = "first" + test "$(cat $secondOutput/file)" = "second" echo "success" > $out/file ''; }; -- cgit 1.4.1