aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/gen_output.fish
diff options
context:
space:
mode:
authorGravatar axel <axel@liljencrantz.se>2005-09-20 23:31:55 +1000
committerGravatar axel <axel@liljencrantz.se>2005-09-20 23:31:55 +1000
commit7ddecde54372c25fcf526e2d24807c5dac9800aa (patch)
tree1bff6e0ccd096836adb74529d53a6debcf45375b /tests/gen_output.fish
parent149594f974350bb364a76c73b91b1d5ffddaa1fa (diff)
Add subdirectories
darcs-hash:20050920133155-ac50b-9a14c6c664dd03afbe8e15e7c7998fcfb5c3c750.gz
Diffstat (limited to 'tests/gen_output.fish')
-rwxr-xr-xtests/gen_output.fish17
1 files changed, 17 insertions, 0 deletions
diff --git a/tests/gen_output.fish b/tests/gen_output.fish
new file mode 100755
index 00000000..91db67b0
--- /dev/null
+++ b/tests/gen_output.fish
@@ -0,0 +1,17 @@
+#!/usr/bin/fish
+
+#
+# Generate output for a test script
+#
+# It is important that you verify that the generated
+# output is correct!
+#
+
+for i in $argv
+ set template_out (basename $i .in).out
+ set template_err (basename $i .in).err
+ set template_status (basename $i .in).status
+
+ fish <$i >$template_out ^$template_err
+ echo $status >$template_status
+end \ No newline at end of file