summaryrefslogtreecommitdiffstats
path: root/tests/posix/exec_plus_semicolon.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tests/posix/exec_plus_semicolon.sh')
-rw-r--r--tests/posix/exec_plus_semicolon.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/posix/exec_plus_semicolon.sh b/tests/posix/exec_plus_semicolon.sh
new file mode 100644
index 0000000..449a3f9
--- /dev/null
+++ b/tests/posix/exec_plus_semicolon.sh
@@ -0,0 +1,5 @@
+# POSIX says:
+# Only a <plus-sign> that immediately follows an argument containing only the two characters "{}"
+# shall punctuate the end of the primary expression. Other uses of the <plus-sign> shall not be
+# treated as special.
+bfs_diff basic -exec echo foo {} bar + baz \;