summaryrefslogtreecommitdiff
path: root/Test
diff options
context:
space:
mode:
Diffstat (limited to 'Test')
-rw-r--r--Test/A01grammar.ztst12
1 files changed, 11 insertions, 1 deletions
diff --git a/Test/A01grammar.ztst b/Test/A01grammar.ztst
index 37311cea7..9625a15bc 100644
--- a/Test/A01grammar.ztst
+++ b/Test/A01grammar.ztst
@@ -116,9 +116,11 @@
(\exec /bin/sh -c 'echo Test one'; print Not reached)
('exec' /bin/sh -c 'echo Test two'; print Not reached)
-0:exec with quotes
+ (\exec -c /bin/sh -c 'echo Test three'; print Not reached)
+0:precommand modifiers with quotes
>Test one
>Test two
+>Test three
cat() { echo Function cat executed; }
command cat && unfunction cat
@@ -126,6 +128,14 @@
<External command cat executed
>External command cat executed
+ (command -p echo this is output)
+ (\command -p echo this is more output)
+ ('command' -p echo this is yet more output)
+0: command -p without -v or -V
+>this is output
+>this is more output
+>this is yet more output
+
command -pv cat
command -pv echo
command -p -V cat