1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-07-06 21:41:48 +02:00

Add a test for multiple outputs

This currently fails. Yay test-driven development!
This commit is contained in:
Shea Levy 2011-09-14 05:59:29 +00:00
parent c172d16b00
commit 8f28a3ba25
5 changed files with 54 additions and 1 deletions

View file

@ -0,0 +1,7 @@
mkdir $out
test "$firstOutput $secondOutput" = "$allOutputs"
test "$defaultOutput" = "$firstOutput"
test "$(cat $first/file)" = "second"
test "$(cat $second/file)" = "first"
echo "success" > $out/file