summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@tavianator.com>2024-01-03 12:01:06 -0500
committerTavian Barnes <tavianator@tavianator.com>2024-01-03 12:13:15 -0500
commitb7aa47b983f2d80a7a80d7c026d648767e0f18e4 (patch)
tree88b292cbb77d2706c34c97e7ddbd6c2394630542 /tests
parent7c232609183f41745d5a451fac34b41f59741e99 (diff)
downloadbfs-b7aa47b983f2d80a7a80d7c026d648767e0f18e4.tar.xz
tests/posix/name_bracket: Skip on NetBSD too
Diffstat (limited to 'tests')
-rw-r--r--tests/posix/name_bracket.sh8
1 files changed, 6 insertions, 2 deletions
diff --git a/tests/posix/name_bracket.sh b/tests/posix/name_bracket.sh
index 80ca186..e2f943d 100644
--- a/tests/posix/name_bracket.sh
+++ b/tests/posix/name_bracket.sh
@@ -1,5 +1,9 @@
-# fnmatch() is broken on macOS
-test "$UNAME" = "Darwin" && skip
+# fnmatch() is broken on some platforms
+case "$UNAME" in
+ Darwin|NetBSD)
+ skip
+ ;;
+esac
# An unclosed [ should be matched literally
bfs_diff weirdnames -name '['