summaryrefslogtreecommitdiffstats
path: root/tests.sh
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@tavianator.com>2020-06-07 15:15:33 -0400
committerTavian Barnes <tavianator@tavianator.com>2020-06-07 15:16:13 -0400
commitb85a344c3645d7748eeb4f3e49e15180d16c5882 (patch)
tree8620d9d6a24dd9c733789b45610e3141c5a389be /tests.sh
parent1bce3b33acbfcfbfa03f1174d6e00c125cd8625d (diff)
downloadbfs-b85a344c3645d7748eeb4f3e49e15180d16c5882.tar.xz
Treat -nohidden like -exclude -hidden
Fixes #30.
Diffstat (limited to 'tests.sh')
-rwxr-xr-xtests.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests.sh b/tests.sh
index c428c65..77a5da1 100755
--- a/tests.sh
+++ b/tests.sh
@@ -646,6 +646,7 @@ bfs_tests=(
test_hidden
test_nohidden
+ test_nohidden_depth
test_perm_symbolic_trailing_comma
test_perm_symbolic_double_comma
@@ -1783,6 +1784,10 @@ function test_nohidden() {
bfs_diff weirdnames -nohidden
}
+function test_nohidden_depth() {
+ bfs_diff weirdnames -depth -nohidden
+}
+
function test_depth_n() {
bfs_diff basic -depth 2
}