about summary refs log tree commit diff
path: root/Test/ztst.zsh
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2001-07-05 14:51:33 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2001-07-05 14:51:33 +0000
commit979cbb0dc3db5db7d53075fbbffa198d20af8dc8 (patch)
treea9d7d0bc6e8f8e07a8a7a3df9ad1c40e96a862e7 /Test/ztst.zsh
parent7c0a534298980e8febd7a60c1e344fb3e760a581 (diff)
downloadzsh-979cbb0dc3db5db7d53075fbbffa198d20af8dc8.tar.gz
zsh-979cbb0dc3db5db7d53075fbbffa198d20af8dc8.tar.xz
zsh-979cbb0dc3db5db7d53075fbbffa198d20af8dc8.zip
15261: remaining easy option tests
Diffstat (limited to 'Test/ztst.zsh')
-rwxr-xr-xTest/ztst.zsh2
1 files changed, 2 insertions, 0 deletions
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."