about summary refs log tree commit diff
path: root/Test/A01grammar.ztst
diff options
context:
space:
mode:
Diffstat (limited to 'Test/A01grammar.ztst')
-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