summary refs log tree commit diff
path: root/Test
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 /Test
parent4228d98c6b30831d18cd5d4ef23ed984c7a8e273 (diff)
downloadzsh-48b0daf3d4972987873f1be00cc73d73734daf05.tar.gz
zsh-48b0daf3d4972987873f1be00cc73d73734daf05.tar.xz
zsh-48b0daf3d4972987873f1be00cc73d73734daf05.zip
41016: Test that quoted precommand modifiers now work
Diffstat (limited to 'Test')
-rw-r--r--Test/A01grammar.ztst6
1 files changed, 6 insertions, 0 deletions
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