about summary refs log tree commit diff
diff options
context:
space:
mode:
-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