aboutsummaryrefslogtreecommitdiff
path: root/posix/tst-fnmatch.input
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2001-10-27 03:00:50 +0000
committerUlrich Drepper <drepper@redhat.com>2001-10-27 03:00:50 +0000
commit95eaff64c7276cce271e368f097dea0c40ccb8b5 (patch)
tree576e87e14f93654e3099c9f423a123f11d33b2d9 /posix/tst-fnmatch.input
parentbe29c482f7aa4042f2b4eaf6a55eed299a2d94e2 (diff)
downloadglibc-95eaff64c7276cce271e368f097dea0c40ccb8b5.tar
glibc-95eaff64c7276cce271e368f097dea0c40ccb8b5.tar.gz
glibc-95eaff64c7276cce271e368f097dea0c40ccb8b5.tar.bz2
glibc-95eaff64c7276cce271e368f097dea0c40ccb8b5.zip
Update.
* posix/tst-fnmatch.input: Add tests for - at beginning and end of bracket expression. * string/tst-strxfrm.c (test): Also test __strxfrm_l.
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