about summary refs log tree commit diff
path: root/Test
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2005-04-04 09:38:20 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2005-04-04 09:38:20 +0000
commit6df44faf120b4abf8bf259a3d50deb1637335e54 (patch)
tree46116dbb8a44da6fa002abee190b5bb204b4f196 /Test
parentaf355ed48949dc0c7f46d6bf563b9642da9963a1 (diff)
downloadzsh-6df44faf120b4abf8bf259a3d50deb1637335e54.tar.gz
zsh-6df44faf120b4abf8bf259a3d50deb1637335e54.tar.xz
zsh-6df44faf120b4abf8bf259a3d50deb1637335e54.zip
21082: Dan Nelson: fix zsh -c exit status on parse error
Diffstat (limited to 'Test')
-rw-r--r--Test/A01grammar.ztst4
1 files changed, 4 insertions, 0 deletions
diff --git a/Test/A01grammar.ztst b/Test/A01grammar.ztst
index 81a963b05..15df464e0 100644
--- a/Test/A01grammar.ztst
+++ b/Test/A01grammar.ztst
@@ -448,3 +448,7 @@
   $ZTST_testdir/../Src/zsh -f <unmatched_quote.txt
 1:Parse error on standard input causes non-zero exit status
 ?zsh: unmatched '
+
+  $ZTST_testdir/../Src/zsh -f -c "'"
+1:Parse error on inline command causes non-zero exit status
+?zsh: unmatched '