about summary refs log tree commit diff
path: root/Test
diff options
context:
space:
mode:
authorPeter Stephenson <p.stephenson@samsung.com>2020-06-26 17:32:02 +0100
committerPeter Stephenson <p.stephenson@samsung.com>2020-06-26 17:32:02 +0100
commit78654869942e94b77ba878a383c4e91d2978567c (patch)
tree8e1184ad4a96b70021e3a5b74c5ffc07cecab429 /Test
parentd14a924c37a60ae7b6c141d4cd575f7cbaa4ddee (diff)
downloadzsh-78654869942e94b77ba878a383c4e91d2978567c.tar.gz
zsh-78654869942e94b77ba878a383c4e91d2978567c.tar.xz
zsh-78654869942e94b77ba878a383c4e91d2978567c.zip
46100: Fix =subst before =(subst)
This occurs with SH file expansion ordering.

Add test.
Diffstat (limited to 'Test')
-rw-r--r--Test/D03procsubst.ztst4
1 files changed, 4 insertions, 0 deletions
diff --git a/Test/D03procsubst.ztst b/Test/D03procsubst.ztst
index 8cf4e2a7f..68a68ef6e 100644
--- a/Test/D03procsubst.ztst
+++ b/Test/D03procsubst.ztst
@@ -156,3 +156,7 @@
   procfunc <(echo argument)
 0:With /proc/self file descriptors must not be tidied up too early
 >argument
+
+  $ZTST_testdir/../Src/zsh -df -o shfileexpansion -c 'cat =(echo hi)'
+0:EQUALS expansion followed by =(...) (sh ordering) should work
+>hi