mirror of
https://github.com/NixOS/nix
synced 2025-07-09 12:03:55 +02:00
Don't put results symlinks in the tests directory
This commit is contained in:
parent
1f7901ec3b
commit
d4c3b6327f
12 changed files with 25 additions and 24 deletions
|
@ -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
|
||||
'';
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue