From: Todd C. Miller Date: Fri, 26 Feb 2016 18:14:50 +0000 (-0700) Subject: Add test for negated character class X-Git-Tag: SUDO_1_8_16^2~6 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f222a20b13b8480976dcb70eba28d7eac9ac1d53;p=sudo Add test for negated character class --- diff --git a/lib/util/regress/fnmatch/fnm_test.in b/lib/util/regress/fnmatch/fnm_test.in index 5d452efe2..c03344015 100644 --- a/lib/util/regress/fnmatch/fnm_test.in +++ b/lib/util/regress/fnmatch/fnm_test.in @@ -1,4 +1,5 @@ /bin/[[:alpha:][:alnum:]]* /bin/ls FNM_PATHNAME 0 +/bin/[![:space:][:alnum:]]* /bin/ls FNM_PATHNAME 0 /bin/[[:alpha:][:alnum:]]* /bin/LS FNM_CASEFOLD 0 /bin/[[:opper:][:alnum:]]* /bin/ls NONE 1 [[:alpha:][:alnum:]]*.c foo1.c FNM_PERIOD 0