diff options
author | Kevin Ballard <kevin@sb.org> | 2014-09-19 16:22:37 -0700 |
---|---|---|
committer | Kevin Ballard <kevin@sb.org> | 2014-09-19 16:22:37 -0700 |
commit | 51c2005ea281f3464fdfcdc000011a09d04506c5 (patch) | |
tree | 0cffad4dfe528ec34030419354b4311c61a1478a /tests/interactive.fish | |
parent | 510ff6a6895acb72f16593fdf1de77872e72844d (diff) |
Tweak interactive debug output
Diffstat (limited to 'tests/interactive.fish')
-rw-r--r-- | tests/interactive.fish | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/interactive.fish b/tests/interactive.fish index b550dc9e..7596d4ba 100644 --- a/tests/interactive.fish +++ b/tests/interactive.fish @@ -32,9 +32,11 @@ for i in *.expect diff -u $i.tmp.err $i.err end - if test $tmp_status != (cat $i.status) + set -l exp_status (cat $i.status)[1] + if test $tmp_status != $exp_status set res fail echo "Exit status differs for file $i." + echo "Expected $exp_status, got $tmp_status." end if test $res = ok |