about summary refs log tree commit diff
path: root/tests/multiple-outputs.b.builder.sh
diff options
context:
space:
mode:
authorShea Levy <shea@shealevy.com>2011-09-14T05·59+0000
committerShea Levy <shea@shealevy.com>2011-09-14T05·59+0000
commit8f28a3ba25dd0dad6411a039bc01ad87c61a6e59 (patch)
tree1281600c0122c44543c8ac17a80a7bf63fe10d2c /tests/multiple-outputs.b.builder.sh
parentc172d16b00dd2126eb7c4f12c26f1e30e4356f07 (diff)
Add a test for multiple outputs
This currently fails. Yay test-driven development!
Diffstat (limited to 'tests/multiple-outputs.b.builder.sh')
-rw-r--r--tests/multiple-outputs.b.builder.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/multiple-outputs.b.builder.sh b/tests/multiple-outputs.b.builder.sh
new file mode 100644
index 000000000000..bc63fc0681b0
--- /dev/null
+++ b/tests/multiple-outputs.b.builder.sh
@@ -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