about summary refs log tree commit diff
path: root/Test/A01grammar.ztst
diff options
context:
space:
mode:
authorPeter Stephenson <pws@zsh.org>2016-09-30 11:34:15 +0100
committerPeter Stephenson <pws@zsh.org>2016-09-30 11:34:15 +0100
commitbb2bbcc944e5b2a089f27e9b988e1740a517cedd (patch)
treec16ac525ae35a97e466aa4f54cfe8e5e4b46f06b /Test/A01grammar.ztst
parentd08674ef8c8e4920c2ebfa02f0bef86812f051ee (diff)
downloadzsh-bb2bbcc944e5b2a089f27e9b988e1740a517cedd.tar.gz
zsh-bb2bbcc944e5b2a089f27e9b988e1740a517cedd.tar.xz
zsh-bb2bbcc944e5b2a089f27e9b988e1740a517cedd.zip
39517: back off 39502 (WC_ASSIGN causes fork in pipe).
This isn't a robust fix as WC_ASSIGNs simply precede the main wordcode.
Diffstat (limited to 'Test/A01grammar.ztst')
-rw-r--r--Test/A01grammar.ztst15
1 files changed, 9 insertions, 6 deletions
diff --git a/Test/A01grammar.ztst b/Test/A01grammar.ztst
index 0b1085c3e..1ad73c599 100644
--- a/Test/A01grammar.ztst
+++ b/Test/A01grammar.ztst
@@ -757,9 +757,12 @@
 >}
 >Stuff here
 
-  x=1
-  x=2 | echo $x
-  echo $x
-0:Assignment-only current shell commands in LHS of pipelin
->1
->1
+## This problem is hard to fix without significant changes to how
+## the shell forks for a pipeline.
+#
+#   x=1
+#   x=2 | echo $x
+#   echo $x
+# 0:Assignment-only current shell commands in LHS of pipelin
+# >1
+# >1