summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@tavianator.com>2020-06-07 14:04:20 -0400
committerTavian Barnes <tavianator@tavianator.com>2020-06-07 15:16:10 -0400
commit1bce3b33acbfcfbfa03f1174d6e00c125cd8625d (patch)
tree9cb9efd81d667b711845878310afb39183cae847 /tests
parentfaee855b1e886dacc999e1dccf7f8e2c750f33c6 (diff)
downloadbfs-1bce3b33acbfcfbfa03f1174d6e00c125cd8625d.tar.xz
Implement -exclude, a special form for convenient exclusions
Fixes #8.
Diffstat (limited to 'tests')
-rw-r--r--tests/test_exclude_depth.out13
-rw-r--r--tests/test_exclude_mindepth.out0
-rw-r--r--tests/test_exclude_name.out13
3 files changed, 26 insertions, 0 deletions
diff --git a/tests/test_exclude_depth.out b/tests/test_exclude_depth.out
new file mode 100644
index 0000000..40e2ea0
--- /dev/null
+++ b/tests/test_exclude_depth.out
@@ -0,0 +1,13 @@
+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
diff --git a/tests/test_exclude_mindepth.out b/tests/test_exclude_mindepth.out
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/tests/test_exclude_mindepth.out
diff --git a/tests/test_exclude_name.out b/tests/test_exclude_name.out
new file mode 100644
index 0000000..40e2ea0
--- /dev/null
+++ b/tests/test_exclude_name.out
@@ -0,0 +1,13 @@
+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