From b5ebe959cca84101795ec29022af5fcbcb94ed78 Mon Sep 17 00:00:00 2001 From: Tavian Barnes Date: Sat, 29 Jul 2017 19:10:03 -0400 Subject: exec: Don't allow anything between {} and + POSIX explicitly forbids this extension: > Only a that immediately follows an argument containing > only the two characters "{}" shall punctuate the end of the primary > expression. Other uses of the shall not be treated as > special. --- tests/test_execdir_plus_semicolon.out | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 tests/test_execdir_plus_semicolon.out (limited to 'tests/test_execdir_plus_semicolon.out') diff --git a/tests/test_execdir_plus_semicolon.out b/tests/test_execdir_plus_semicolon.out new file mode 100644 index 0000000..9acfc5d --- /dev/null +++ b/tests/test_execdir_plus_semicolon.out @@ -0,0 +1,19 @@ ++ ./a bar baz foo ++ ./b bar baz foo ++ ./bar bar baz foo ++ ./bar bar baz foo ++ ./basic bar baz foo ++ ./baz bar baz foo ++ ./c bar baz foo ++ ./d bar baz foo ++ ./e bar baz foo ++ ./f bar baz foo ++ ./foo bar baz foo ++ ./foo bar baz foo ++ ./foo bar baz foo ++ ./g bar baz foo ++ ./h bar baz foo ++ ./i bar baz foo ++ ./j bar baz foo ++ ./k bar baz foo ++ ./l bar baz foo -- cgit v1.2.3