summaryrefslogtreecommitdiffstats
path: root/tests.sh
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@tavianator.com>2022-02-01 16:38:59 -0500
committerTavian Barnes <tavianator@tavianator.com>2022-02-01 16:39:24 -0500
commit66dc98dfcc72a1fd928d57d3b9cbe88e7481dba0 (patch)
tree807a9f7f3e967e97b63e6ee17607800dfc7a30e9 /tests.sh
parent26cb8d518823044a9eae231885cb4120339f68cf (diff)
downloadbfs-66dc98dfcc72a1fd928d57d3b9cbe88e7481dba0.tar.xz
tests: New test for ** in a glob
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 4248378..1624d18 100755
--- a/tests.sh
+++ b/tests.sh
@@ -232,6 +232,7 @@ posix_tests=(
test_name_root
test_name_root_depth
test_name_trailing_slash
+ test_name_star_star
test_newer
test_newer_link
@@ -1292,6 +1293,10 @@ function test_name_slashes() {
bfs_diff /// -maxdepth 0 -name /
}
+function test_name_star_star() {
+ bfs_diff basic -name '**f**'
+}
+
function test_path() {
bfs_diff basic -path 'basic/*f*'
}