about summary refs log tree commit diff
path: root/Test
diff options
context:
space:
mode:
authorPeter Stephenson <pws@zsh.org>2015-07-02 10:01:42 +0100
committerPeter Stephenson <pws@zsh.org>2015-07-02 10:01:42 +0100
commit2afdb3985aae08403e1e5ab6193cd67c695b6e2b (patch)
treee6c66c0eefef3309f34d7153c7ecfd5949edd99f /Test
parentdce1f33c02c855e9d5f588716d7e9ddaea3887ba (diff)
downloadzsh-2afdb3985aae08403e1e5ab6193cd67c695b6e2b.tar.gz
zsh-2afdb3985aae08403e1e5ab6193cd67c695b6e2b.tar.xz
zsh-2afdb3985aae08403e1e5ab6193cd67c695b6e2b.zip
35668: Improved fix for command/proc subst starting in alias.
Use input flag to suppress the unwanted backtracking.

Add test for the extra case covered.
Diffstat (limited to 'Test')
-rw-r--r--Test/D03procsubst.ztst5
1 files changed, 5 insertions, 0 deletions
diff --git a/Test/D03procsubst.ztst b/Test/D03procsubst.ztst
index 07ec63996..7b8758901 100644
--- a/Test/D03procsubst.ztst
+++ b/Test/D03procsubst.ztst
@@ -121,3 +121,8 @@
   eval 'foo echo this is bound to work)'
 0:backtacking within command string parsing with alias still pending
 >this is bound to work
+
+  alias foo='cat <( print'
+  eval 'foo here is some output)'
+0:full alias expanded when substitution starts in alias
+>here is some output