summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@tavianator.com>2019-03-07 22:12:46 -0800
committerTavian Barnes <tavianator@tavianator.com>2019-03-07 22:13:10 -0800
commitaafdd8eead6b5856b9adecdbcec86acc194b8af0 (patch)
tree91bf8afb2474efeed893ea35ab33847072c58f92 /tests
parent0689a4a16f5e80e0c2368f4a68c69ce5f2fdc038 (diff)
downloadbfs-aafdd8eead6b5856b9adecdbcec86acc194b8af0.tar.xz
eval: Fix -unique with -depth
Diffstat (limited to 'tests')
-rw-r--r--tests/test_L_unique_depth.out3
-rw-r--r--tests/test_unique_depth.out19
2 files changed, 22 insertions, 0 deletions
diff --git a/tests/test_L_unique_depth.out b/tests/test_L_unique_depth.out
new file mode 100644
index 0000000..dad0a98
--- /dev/null
+++ b/tests/test_L_unique_depth.out
@@ -0,0 +1,3 @@
+loops/deeply/nested
+loops/deeply/nested/dir
+loops/deeply/nested/loop
diff --git a/tests/test_unique_depth.out b/tests/test_unique_depth.out
new file mode 100644
index 0000000..bb3cd8d
--- /dev/null
+++ b/tests/test_unique_depth.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