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 f1cf7b79 ("t3070: disable unreliable fnmatch tests", 15-10-2012), we disable the fnmatch() half of these tests. Signed-off-by: Ramsay Jones <ramsay@ramsay1.demon.co.uk> Acked-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Ramsay Jones committed
Dec 15, 2012 at 19:19 UTC
d5d80e12bd755197352bdb0e9b2291c896946abd
1 file changed
+3
-3
t/t3070-wildmatch.sh
+3
-3
@@ -120,9 +120,9 @@ match 0 x '1' '[[:digit:][:upper:][:spaci:]]'
120
match 1 x ' ' '[[:digit:][:upper:][:space:]]'
121
match 0 x '.' '[[:digit:][:upper:][:space:]]'
122
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:]]'
126
match 1 x '_' '[[:alnum:][:alpha:][:blank:][:cntrl:][:digit:][:graph:][:lower:][:print:][:punct:][:space:][:upper:][:xdigit:]]'
127
match 1 x '_' '[[:alnum:][:alpha:][:blank:][:cntrl:][:digit:][:graph:][:lower:][:print:][:punct:][:space:][:upper:][:xdigit:]]'
128
match 1 x '.' '[^[:alnum:][:alpha:][:blank:][:cntrl:][:digit:][:lower:][:space:][:upper:][:xdigit:]]'