summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@tavianator.com>2016-12-18 18:35:33 -0500
committerTavian Barnes <tavianator@tavianator.com>2016-12-18 18:35:33 -0500
commit8fad779ae21b1052268af0befa930c75d1dd780b (patch)
tree59fe107f78d9b53f0e6d3ac59e326105a2d06230 /tests
parente319411a3f2f4e82f3519cc1a1f45e7153a5e2af (diff)
downloadbfs-8fad779ae21b1052268af0befa930c75d1dd780b.tar.xz
Implement BSD find's -depth N
Diffstat (limited to 'tests')
-rw-r--r--tests/test_0112.out6
-rw-r--r--tests/test_0113.out3
-rw-r--r--tests/test_0114.out10
-rw-r--r--tests/test_0115.out6
-rw-r--r--tests/test_0116.out3
-rw-r--r--tests/test_0117.out10
6 files changed, 38 insertions, 0 deletions
diff --git a/tests/test_0112.out b/tests/test_0112.out
new file mode 100644
index 0000000..3bfc1d3
--- /dev/null
+++ b/tests/test_0112.out
@@ -0,0 +1,6 @@
+basic/c/d
+basic/e/f
+basic/g/h
+basic/j/foo
+basic/k/foo
+basic/l/foo
diff --git a/tests/test_0113.out b/tests/test_0113.out
new file mode 100644
index 0000000..847995d
--- /dev/null
+++ b/tests/test_0113.out
@@ -0,0 +1,3 @@
+basic/k/foo/bar
+basic/l/foo/bar
+basic/l/foo/bar/baz
diff --git a/tests/test_0114.out b/tests/test_0114.out
new file mode 100644
index 0000000..7575ae4
--- /dev/null
+++ b/tests/test_0114.out
@@ -0,0 +1,10 @@
+basic
+basic/a
+basic/b
+basic/c
+basic/e
+basic/g
+basic/i
+basic/j
+basic/k
+basic/l
diff --git a/tests/test_0115.out b/tests/test_0115.out
new file mode 100644
index 0000000..3bfc1d3
--- /dev/null
+++ b/tests/test_0115.out
@@ -0,0 +1,6 @@
+basic/c/d
+basic/e/f
+basic/g/h
+basic/j/foo
+basic/k/foo
+basic/l/foo
diff --git a/tests/test_0116.out b/tests/test_0116.out
new file mode 100644
index 0000000..847995d
--- /dev/null
+++ b/tests/test_0116.out
@@ -0,0 +1,3 @@
+basic/k/foo/bar
+basic/l/foo/bar
+basic/l/foo/bar/baz
diff --git a/tests/test_0117.out b/tests/test_0117.out
new file mode 100644
index 0000000..7575ae4
--- /dev/null
+++ b/tests/test_0117.out
@@ -0,0 +1,10 @@
+basic
+basic/a
+basic/b
+basic/c
+basic/e
+basic/g
+basic/i
+basic/j
+basic/k
+basic/l