summaryrefslogtreecommitdiffstats
path: root/tests.sh
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@tavianator.com>2016-02-13 17:14:03 -0500
committerTavian Barnes <tavianator@tavianator.com>2016-02-13 17:14:03 -0500
commit30ce56dc76f3a098c42c7ac9701fc4a223847fa2 (patch)
tree15e8a0aed66d93fb26c9a819846527eada1a0905 /tests.sh
parent4cd28ed2aa3f098a1d35dd44ecec27002fadb89b (diff)
downloadbfs-30ce56dc76f3a098c42c7ac9701fc4a223847fa2.tar.xz
Implement -iname and -ipath.
Diffstat (limited to 'tests.sh')
-rwxr-xr-xtests.sh10
1 files changed, 9 insertions, 1 deletions
diff --git a/tests.sh b/tests.sh
index 97d274b..cbfefcb 100755
--- a/tests.sh
+++ b/tests.sh
@@ -215,7 +215,15 @@ function test_0036() {
find_diff "//" -maxdepth 0 -name '/' 2>/dev/null
}
-for i in {1..36}; do
+function test_0037() {
+ find_diff "$basic" -iname '*F*'
+}
+
+function test_0038() {
+ find_diff "$basic" -ipath "$basic/*F*"
+}
+
+for i in {1..38}; do
test="test_$(printf '%04d' $i)"
"$test" "$dir"
status=$?