about summary refs log tree commit diff
path: root/posix/tst-fnmatch.input
diff options
context:
space:
mode:
Diffstat (limited to 'posix/tst-fnmatch.input')
-rw-r--r--posix/tst-fnmatch.input8
1 files changed, 8 insertions, 0 deletions
diff --git a/posix/tst-fnmatch.input b/posix/tst-fnmatch.input
index 764fe962d3..faea8e2f9b 100644
--- a/posix/tst-fnmatch.input
+++ b/posix/tst-fnmatch.input
@@ -381,6 +381,14 @@ C		"a"			"a/"                   NOMATCH PATHNAME
 C		"a/"			"a"		       NOMATCH PATHNAME
 C		"//a"			"/a"		       NOMATCH PATHNAME
 C		"/a"			"//a"		       NOMATCH PATHNAME
+C		"az"			"[a-]z"		       0
+C		"bz"			"[ab-]z"	       0
+C		"cz"			"[ab-]z"	       NOMATCH
+C		"-z"			"[ab-]z"	       0
+C		"az"			"[-a]z"		       0
+C		"bz"			"[-ab]z"	       0
+C		"cz"			"[-ab]z"	       NOMATCH
+C		"-z"			"[-ab]z"	       0
 
 # Following are tests outside the scope of IEEE 2003.2 since they are using
 # locales other than the C locale.  The main focus of the tests is on the