about summary refs log tree commit diff
path: root/Test/A01grammar.ztst
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2005-04-04 09:35:36 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2005-04-04 09:35:36 +0000
commit82c9c7a42351c5b674153149c761eaa0103cd89e (patch)
tree963270079d9a7f7ecea5a58f6efebdf2cc0b921a /Test/A01grammar.ztst
parentaac33a33a143aefacbea64a803a84327fbc84bde (diff)
downloadzsh-82c9c7a42351c5b674153149c761eaa0103cd89e.tar.gz
zsh-82c9c7a42351c5b674153149c761eaa0103cd89e.tar.xz
zsh-82c9c7a42351c5b674153149c761eaa0103cd89e.zip
21082: Dan Nelson: fix zsh -c exit status on parse error
Diffstat (limited to 'Test/A01grammar.ztst')
-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 '