summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@tavianator.com>2017-02-09 18:35:25 -0500
committerTavian Barnes <tavianator@tavianator.com>2017-02-09 18:35:25 -0500
commit49415accb857450cdeb4397c31cbe4d6e6e9591f (patch)
treef0530479eed24de99db9bcb02527aa04339e94fd /tests
parentc0d14f854ffedd29cc6d53c8033c72573a63273e (diff)
downloadbfs-49415accb857450cdeb4397c31cbe4d6e6e9591f.tar.xz
Don't close stdin for -ok or -okdir
Turns out it violates POSIX, even though GNU find does it.
Diffstat (limited to 'tests')
-rw-r--r--tests/test_0094.out19
-rw-r--r--tests/test_0095.out19
2 files changed, 38 insertions, 0 deletions
diff --git a/tests/test_0094.out b/tests/test_0094.out
new file mode 100644
index 0000000..30b57fd
--- /dev/null
+++ b/tests/test_0094.out
@@ -0,0 +1,19 @@
+basic? y
+basic/a? y
+basic/b? y
+basic/c? y
+basic/e? y
+basic/g? y
+basic/i? y
+basic/j? y
+basic/k? y
+basic/l? y
+basic/c/d? y
+basic/e/f? y
+basic/g/h? y
+basic/j/foo? y
+basic/k/foo? y
+basic/l/foo? y
+basic/k/foo/bar? y
+basic/l/foo/bar? y
+basic/l/foo/bar/baz? y
diff --git a/tests/test_0095.out b/tests/test_0095.out
new file mode 100644
index 0000000..ef2a68b
--- /dev/null
+++ b/tests/test_0095.out
@@ -0,0 +1,19 @@
+./a? y
+./b? y
+./bar? y
+./bar? y
+./basic? y
+./baz? y
+./c? y
+./d? y
+./e? y
+./f? y
+./foo? y
+./foo? y
+./foo? y
+./g? y
+./h? y
+./i? y
+./j? y
+./k? y
+./l? y