From 517a303e425b606cde3b70a1481ff557bba17462 Mon Sep 17 00:00:00 2001 From: Tavian Barnes Date: Mon, 28 Feb 2022 14:35:39 -0500 Subject: parse: Check for globs with unescaped trailing backslashes Both macOS and musl fail to fail on an unescaped backslash, so check for it ourselves. Link: https://pubs.opengroup.org/onlinepubs/9699919799/functions/fnmatch.html Link: https://github.com/void-linux/void-packages/pull/35836 Link: https://www.openwall.com/lists/musl/2022/02/25/2 Link: https://www.austingroupbugs.net/view.php?id=806 --- tests.sh | 3 --- 1 file changed, 3 deletions(-) (limited to 'tests.sh') diff --git a/tests.sh b/tests.sh index 9003efd..995b7a6 100755 --- a/tests.sh +++ b/tests.sh @@ -1338,9 +1338,6 @@ function test_name_bracket() { } function test_name_backslash() { - # fnmatch() is broken on macOS - skip_if test "$UNAME" = "Darwin" - # An unescaped \ doesn't match bfs_diff weirdnames -name '\' } -- cgit v1.2.3