From b7aa47b983f2d80a7a80d7c026d648767e0f18e4 Mon Sep 17 00:00:00 2001 From: Tavian Barnes Date: Wed, 3 Jan 2024 12:01:06 -0500 Subject: tests/posix/name_bracket: Skip on NetBSD too --- tests/posix/name_bracket.sh | 8 ++++++-- 1 file 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 '[' -- cgit v1.2.3