blob: 49e15bfdc5ab0783532e656a32fd304e99ddf9ab (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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
|