mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-26 12:53:13 +00:00
Make the test harness output file diffs on failure
This commit is contained in:
parent
7d345018af
commit
699d78bcfe
1 changed files with 4 additions and 2 deletions
|
@ -60,13 +60,15 @@ for i in *.in
|
|||
if diff tmp.out $template_out >/dev/null
|
||||
else
|
||||
set res fail
|
||||
echo Output differs for file $i
|
||||
echo Output differs for file $i. Diff follows:
|
||||
diff tmp.out $template_out
|
||||
end
|
||||
|
||||
if diff tmp.err $template_err >/dev/null
|
||||
else
|
||||
set res fail
|
||||
echo Error output differs for file $i
|
||||
echo Error output differs for file $i. Diff follows:
|
||||
diff tmp.err $template_err
|
||||
end
|
||||
|
||||
if test (cat tmp.status) = (cat $template_status)
|
||||
|
|
Loading…
Reference in a new issue