summaryrefslogtreecommitdiffstats
path: root/Test/D08cmdsubst.ztst
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2009-07-10 22:10:25 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2009-07-10 22:10:25 +0000
commit4db28c55b64ec25cd258f87a0d60b0544fe50059 (patch)
tree7e6c98c9aeae22faf5bc1bb06ff776da5edbf795 /Test/D08cmdsubst.ztst
parent27125: handle nested use of colour code buffer allocation (diff)
downloadzsh-4db28c55b64ec25cd258f87a0d60b0544fe50059.tar
zsh-4db28c55b64ec25cd258f87a0d60b0544fe50059.tar.gz
zsh-4db28c55b64ec25cd258f87a0d60b0544fe50059.tar.bz2
zsh-4db28c55b64ec25cd258f87a0d60b0544fe50059.tar.lz
zsh-4db28c55b64ec25cd258f87a0d60b0544fe50059.tar.xz
zsh-4db28c55b64ec25cd258f87a0d60b0544fe50059.tar.zst
zsh-4db28c55b64ec25cd258f87a0d60b0544fe50059.zip
27126: a few more contexts where executing empty lists gives status zero
Diffstat (limited to 'Test/D08cmdsubst.ztst')
-rw-r--r--Test/D08cmdsubst.ztst4
1 files changed, 4 insertions, 0 deletions
diff --git a/Test/D08cmdsubst.ztst b/Test/D08cmdsubst.ztst
index 015796ed6..1b5c7f728 100644
--- a/Test/D08cmdsubst.ztst
+++ b/Test/D08cmdsubst.ztst
@@ -89,3 +89,7 @@
X=$(exit 2) $(exit 0) || print $?
0:variable assignments processed after other substitutions
>2
+
+ false
+ ``
+0:Empty command substitution resets status