diff options
author | Tavian Barnes <tavianator@tavianator.com> | 2022-02-28 14:35:39 -0500 |
---|---|---|
committer | Tavian Barnes <tavianator@tavianator.com> | 2022-02-28 14:35:39 -0500 |
commit | 517a303e425b606cde3b70a1481ff557bba17462 (patch) | |
tree | cdb4100bab98bbd335aa192128aff949850f3ffe /tests.sh | |
parent | e14f04e52f792d12f3798b3c69bd0279ac7d3150 (diff) | |
download | bfs-517a303e425b606cde3b70a1481ff557bba17462.tar.xz |
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
Diffstat (limited to 'tests.sh')
-rwxr-xr-x | tests.sh | 3 |
1 files changed, 0 insertions, 3 deletions
@@ -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 '\' } |