summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@tavianator.com>2017-07-29 21:09:30 -0400
committerTavian Barnes <tavianator@tavianator.com>2017-07-29 21:09:30 -0400
commit758bb619e8631be1773cbecb4226580c83a41651 (patch)
treee3579bc9c916dcdbfa15a8b6c435e4793f16e593 /tests
parent803edcab57b8d90897f9bc96affe8b4fb0ba468a (diff)
downloadbfs-758bb619e8631be1773cbecb4226580c83a41651.tar.xz
exec: Fix more corner cases with -ok ... +
-ok should look for a ; even if it sees {} +, according to POSIX.
Diffstat (limited to 'tests')
-rw-r--r--tests/test_ok_plus_semicolon.out19
-rw-r--r--tests/test_okdir_plus_semicolon.out19
2 files changed, 38 insertions, 0 deletions
diff --git a/tests/test_ok_plus_semicolon.out b/tests/test_ok_plus_semicolon.out
new file mode 100644
index 0000000..85d27e5
--- /dev/null
+++ b/tests/test_ok_plus_semicolon.out
@@ -0,0 +1,19 @@
+basic +
+basic/a +
+basic/b +
+basic/c +
+basic/e +
+basic/g +
+basic/i +
+basic/j +
+basic/k +
+basic/l +
+basic/c/d +
+basic/e/f +
+basic/g/h +
+basic/j/foo +
+basic/k/foo +
+basic/l/foo +
+basic/k/foo/bar +
+basic/l/foo/bar +
+basic/l/foo/bar/baz +
diff --git a/tests/test_okdir_plus_semicolon.out b/tests/test_okdir_plus_semicolon.out
new file mode 100644
index 0000000..1909d27
--- /dev/null
+++ b/tests/test_okdir_plus_semicolon.out
@@ -0,0 +1,19 @@
+./a +
+./b +
+./bar +
+./bar +
+./basic +
+./baz +
+./c +
+./d +
+./e +
+./f +
+./foo +
+./foo +
+./foo +
+./g +
+./h +
+./i +
+./j +
+./k +
+./l +