Skip to content

Commit d5d80e1

Browse files
Ramsay Jonesgitster
authored andcommitted
t3070: Disable some failing fnmatch tests
The failing tests make use of a POSIX character class, '[:xdigit:]' in this case, which some versions of the fnmatch() library function do not support. In the spirit of commit f1cf7b7 ("t3070: disable unreliable fnmatch tests", 15-10-2012), we disable the fnmatch() half of these tests. Signed-off-by: Ramsay Jones <[email protected]> Acked-by: Nguyễn Thái Ngọc Duy <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent ef49841 commit d5d80e1

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

t/t3070-wildmatch.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -120,9 +120,9 @@ match 0 x '1' '[[:digit:][:upper:][:spaci:]]'
120120
match 1 x ' ' '[[:digit:][:upper:][:space:]]'
121121
match 0 x '.' '[[:digit:][:upper:][:space:]]'
122122
match 1 x '.' '[[:digit:][:punct:][:space:]]'
123-
match 1 1 '5' '[[:xdigit:]]'
124-
match 1 1 'f' '[[:xdigit:]]'
125-
match 1 1 'D' '[[:xdigit:]]'
123+
match 1 x '5' '[[:xdigit:]]'
124+
match 1 x 'f' '[[:xdigit:]]'
125+
match 1 x 'D' '[[:xdigit:]]'
126126
match 1 x '_' '[[:alnum:][:alpha:][:blank:][:cntrl:][:digit:][:graph:][:lower:][:print:][:punct:][:space:][:upper:][:xdigit:]]'
127127
match 1 x '_' '[[:alnum:][:alpha:][:blank:][:cntrl:][:digit:][:graph:][:lower:][:print:][:punct:][:space:][:upper:][:xdigit:]]'
128128
match 1 x '.' '[^[:alnum:][:alpha:][:blank:][:cntrl:][:digit:][:lower:][:space:][:upper:][:xdigit:]]'

0 commit comments

Comments
 (0)