aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/interactive.fish
diff options
context:
space:
mode:
Diffstat (limited to 'tests/interactive.fish')
-rw-r--r--tests/interactive.fish4
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