summary refs log tree commit diff
path: root/Test/E01options.ztst
diff options
context:
space:
mode:
authorBart Schaefer <schaefer@zsh.org>2022-05-01 12:17:33 -0700
committerBart Schaefer <schaefer@zsh.org>2022-05-01 12:17:33 -0700
commit8fac1b7c62cb2a70945617e8e1eb95b3b4fabf30 (patch)
treea623d3670df374050e9a344e9abb97abe74f54cb /Test/E01options.ztst
parentf80f880c4ba3f9c37cff24045af23e0af031a71c (diff)
downloadzsh-8fac1b7c62cb2a70945617e8e1eb95b3b4fabf30.tar.gz
zsh-8fac1b7c62cb2a70945617e8e1eb95b3b4fabf30.tar.xz
zsh-8fac1b7c62cb2a70945617e8e1eb95b3b4fabf30.zip
50160: Regression tests for 50126, 50136, and 50149
Diffstat (limited to 'Test/E01options.ztst')
-rw-r--r--Test/E01options.ztst6
1 files changed, 6 insertions, 0 deletions
diff --git a/Test/E01options.ztst b/Test/E01options.ztst
index 72749e6ab..b57b23557 100644
--- a/Test/E01options.ztst
+++ b/Test/E01options.ztst
@@ -752,6 +752,12 @@
 >These are the contents of the file
 >These are the contents of the file
 
+# Subshell to shield nullexec redirections
+  ( exec 3>&1 3>&2; print -u 3 some words )
+0:regression test: multios with nullexec
+>some words
+?some words
+
 # tried this with other things, but not on its own, so much.
   unsetopt nomatch
   print with nonomatch: flooble*