Commit 3acd46fb authored by Axel Beckert's avatar Axel Beckert

Next test

parent 88e7cddf
Description: Test if this patch works
Origin: http://www.zsh.org/mla/workers/2016/msg02567.html
Origin: http://www.zsh.org/mla/workers/2016/msg02572.html
--- a/Test/D04parameter.ztst
+++ b/Test/D04parameter.ztst
@@ -97,7 +97,8 @@
@@ -97,16 +97,17 @@
PROMPT="" $ZTST_testdir/../Src/zsh -fis <<<'
unsetopt PROMPT_SP
......@@ -13,3 +13,14 @@ Origin: http://www.zsh.org/mla/workers/2016/msg02567.html
foo() {
print ${1:?no arguments given}
print not reached
}
foo
print reached
- '
+ ' 2>/dev/null
0:interactive shell returns to top level on ${...?...} error
-?foo:1: 1: no arguments given
+*>*foo:1: 1: no arguments given
>reached
print ${set1:+word1} ${set1+word2} ${null1:+word3} ${null1+word4}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment