]> granicus.if.org Git - sudo/commitdiff
Add test for negated character class
authorTodd C. Miller <Todd.Miller@courtesan.com>
Fri, 26 Feb 2016 18:14:50 +0000 (11:14 -0700)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Fri, 26 Feb 2016 18:14:50 +0000 (11:14 -0700)
lib/util/regress/fnmatch/fnm_test.in

index 5d452efe20ea8ede3203a3f7169bc648e4a2aa16..c03344015256aab67f47c1740c74c91019dce44e 100644 (file)
@@ -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