From 48b0daf3d4972987873f1be00cc73d73734daf05 Mon Sep 17 00:00:00 2001 From: Peter Stephenson Date: Thu, 27 Apr 2017 09:58:45 +0100 Subject: 41016: Test that quoted precommand modifiers now work --- ChangeLog | 5 +++++ Test/A01grammar.ztst | 6 ++++++ 2 files changed, 11 insertions(+) diff --git a/ChangeLog b/ChangeLog index 531919037..fb0d379e2 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2017-04-27 Peter Stephenson + + * 41016: Test/A01grammar.ztst: test that quoted precommand + modifiers now work. + 2017-04-26 Oliver Kiddle * 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 -- cgit 1.4.1