summaryrefslogtreecommitdiffstats
path: root/tests.sh
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@tavianator.com>2022-02-08 14:04:53 -0500
committerTavian Barnes <tavianator@tavianator.com>2022-02-08 14:04:53 -0500
commitf4772fe4c13eb8b9b3c199d4e1703c242babcfd7 (patch)
tree7d0f011f8e3ab6d3aa8d6218516d3ac44d662159 /tests.sh
parentfaed336d433749539c495a5223440b1725ada722 (diff)
downloadbfs-f4772fe4c13eb8b9b3c199d4e1703c242babcfd7.tar.xz
tests: Skip case insensitive tests if FNM_CASEFOLD is missing
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 cad5e51..dd4f6ab 100755
--- a/tests.sh
+++ b/tests.sh
@@ -1611,14 +1611,17 @@ function test_xtype_depth() {
}
function test_iname() {
+ skip_if fail quiet invoke_bfs -quit -iname PATTERN
bfs_diff basic -iname '*F*'
}
function test_ipath() {
+ skip_if fail quiet invoke_bfs -quit -ipath PATTERN
bfs_diff basic -ipath 'basic/*F*'
}
function test_iwholename() {
+ skip_if fail quiet invoke_bfs -quit -iwholename PATTERN
bfs_diff basic -iwholename 'basic/*F*'
}
@@ -1627,6 +1630,7 @@ function test_lname() {
}
function test_ilname() {
+ skip_if fail quiet invoke_bfs -quit -ilname PATTERN
bfs_diff links -ilname '[AQ]'
}
@@ -1635,6 +1639,7 @@ function test_L_lname() {
}
function test_L_ilname() {
+ skip_if fail quiet invoke_bfs -quit -ilname PATTERN
bfs_diff -L links -ilname '[AQ]'
}