summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeter Stephenson <pws@zsh.org>2017-04-27 09:58:45 +0100
committerPeter Stephenson <pws@zsh.org>2017-04-27 09:58:45 +0100
commit48b0daf3d4972987873f1be00cc73d73734daf05 (patch)
tree9028d18f5860f6a568ddf2ce760a91b22462bb0d
parentunposted: fix syntax on line end (diff)
downloadzsh-48b0daf3d4972987873f1be00cc73d73734daf05.tar
zsh-48b0daf3d4972987873f1be00cc73d73734daf05.tar.gz
zsh-48b0daf3d4972987873f1be00cc73d73734daf05.tar.bz2
zsh-48b0daf3d4972987873f1be00cc73d73734daf05.tar.lz
zsh-48b0daf3d4972987873f1be00cc73d73734daf05.tar.xz
zsh-48b0daf3d4972987873f1be00cc73d73734daf05.tar.zst
zsh-48b0daf3d4972987873f1be00cc73d73734daf05.zip
41016: Test that quoted precommand modifiers now work
-rw-r--r--ChangeLog5
-rw-r--r--Test/A01grammar.ztst6
2 files changed, 11 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 531919037..fb0d379e2 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2017-04-27 Peter Stephenson <p.stephenson@samsung.com>
+
+ * 41016: Test/A01grammar.ztst: test that quoted precommand
+ modifiers now work.
+
2017-04-26 Oliver Kiddle <opk@zsh.org>
* unposted: Completion/Unix/Command/_dbus: fix syntax on line end
diff --git a/Test/A01grammar.ztst b/Test/A01grammar.ztst
index 32caf5f68..37311cea7 100644
--- a/Test/A01grammar.ztst
+++ b/Test/A01grammar.ztst
@@ -114,6 +114,12 @@
0:`exec' with -c option
>xx
+ (\exec /bin/sh -c 'echo Test one'; print Not reached)
+ ('exec' /bin/sh -c 'echo Test two'; print Not reached)
+0:exec with quotes
+>Test one
+>Test two
+
cat() { echo Function cat executed; }
command cat && unfunction cat
0:`command' precommand modifier