diff options
| author | Peter Stephenson <pws@zsh.org> | 2016-10-10 10:55:48 +0100 |
|---|---|---|
| committer | Peter Stephenson <pws@zsh.org> | 2016-10-10 10:55:48 +0100 |
| commit | 8f2ce89a0c80f6a0ecdc7c1189d6a94f620882f4 (patch) | |
| tree | fc1e0bdd5889edc5035d5a8f974a5cf6c5af7089 /Test | |
| parent | 39522: add-zsh-hook/add-zle-hook-widget: Promise append semantics. (diff) | |
| download | zsh-8f2ce89a0c80f6a0ecdc7c1189d6a94f620882f4.tar zsh-8f2ce89a0c80f6a0ecdc7c1189d6a94f620882f4.tar.gz zsh-8f2ce89a0c80f6a0ecdc7c1189d6a94f620882f4.tar.bz2 zsh-8f2ce89a0c80f6a0ecdc7c1189d6a94f620882f4.tar.lz zsh-8f2ce89a0c80f6a0ecdc7c1189d6a94f620882f4.tar.xz zsh-8f2ce89a0c80f6a0ecdc7c1189d6a94f620882f4.tar.zst zsh-8f2ce89a0c80f6a0ecdc7c1189d6a94f620882f4.zip | |
39599: Don't reset status before "case" execution
Diffstat (limited to 'Test')
| -rw-r--r-- | Test/A01grammar.ztst | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/Test/A01grammar.ztst b/Test/A01grammar.ztst index 0b1085c3e..0e77f3ebc 100644 --- a/Test/A01grammar.ztst +++ b/Test/A01grammar.ztst @@ -757,6 +757,14 @@ >} >Stuff here + (exit 37) + case $? in + (37) echo $? + ;; + esac +0:case retains exit status for execution of cases +>37 + x=1 x=2 | echo $x echo $x |
