summaryrefslogtreecommitdiffstats
path: root/tests/posix
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@tavianator.com>2022-11-11 14:59:54 -0500
committerTavian Barnes <tavianator@tavianator.com>2022-11-11 14:59:54 -0500
commit712b13756a09014ef730c8f9b96da4dc2f09b762 (patch)
tree79117c04624d79ae4d4d007f95c228377c046fb5 /tests/posix
parent5ce883daaafc69f83b01dac5db0647e9662a6e87 (diff)
downloadbfs-712b13756a09014ef730c8f9b96da4dc2f09b762.tar.xz
exec: Fix index overflow parsing -exec +
Diffstat (limited to 'tests/posix')
-rw-r--r--tests/posix/exec_plus_nothing.sh2
-rw-r--r--tests/posix/ok_plus_nothing.sh2
2 files changed, 4 insertions, 0 deletions
diff --git a/tests/posix/exec_plus_nothing.sh b/tests/posix/exec_plus_nothing.sh
new file mode 100644
index 0000000..ef01968
--- /dev/null
+++ b/tests/posix/exec_plus_nothing.sh
@@ -0,0 +1,2 @@
+# Regression test: don't look OOB for {} +
+fail invoke_bfs basic -exec +
diff --git a/tests/posix/ok_plus_nothing.sh b/tests/posix/ok_plus_nothing.sh
new file mode 100644
index 0000000..7cb7de5
--- /dev/null
+++ b/tests/posix/ok_plus_nothing.sh
@@ -0,0 +1,2 @@
+# Regression test: don't look OOB for {} +
+fail invoke_bfs basic -ok +