From 979cbb0dc3db5db7d53075fbbffa198d20af8dc8 Mon Sep 17 00:00:00 2001 From: Peter Stephenson Date: Thu, 5 Jul 2001 14:51:33 +0000 Subject: 15261: remaining easy option tests --- Test/ztst.zsh | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Test/ztst.zsh') diff --git a/Test/ztst.zsh b/Test/ztst.zsh index 414b26c6c..bd0c57f85 100755 --- a/Test/ztst.zsh +++ b/Test/ztst.zsh @@ -317,6 +317,7 @@ $ZTST_curline" ZTST_hashmark ZTST_verbose 1 "Running test: $ZTST_message" ZTST_verbose 2 "ZTST_test: expecting status: $ZTST_xstatus" + ZTST_verbose 2 "Input: $ZTST_in, output: $ZTST_out, error: $ZTST_terr" ZTST_execchunk <$ZTST_in >$ZTST_tout 2>$ZTST_terr @@ -345,6 +346,7 @@ $(<$ZTST_terr)}" if [[ $ZTST_flags != *D* ]] && ! ZTST_diff -c $ZTST_err $ZTST_terr; then ZTST_testfailed "error output differs from expected as shown above for: $ZTST_code" + return 1 fi fi ZTST_verbose 1 "Test successful." -- cgit 1.4.1