about summary refs log tree commit diff
path: root/posix/tst-fnmatch.input
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2001-03-28 06:25:09 +0000
committerUlrich Drepper <drepper@redhat.com>2001-03-28 06:25:09 +0000
commit228293b5906774f8d5dffde32251863d045a354e (patch)
tree72d24b6e2e10251bea2175544236ea79b9d0860c /posix/tst-fnmatch.input
parent325a39c51197c480891d83b742abc01e61c7786f (diff)
downloadglibc-228293b5906774f8d5dffde32251863d045a354e.tar.gz
glibc-228293b5906774f8d5dffde32251863d045a354e.tar.xz
glibc-228293b5906774f8d5dffde32251863d045a354e.zip
Update.
	* posix/fnmatch_loop.c (FCT): Handle !() after * special like @()
	and +().
	* posix/tst-fnmatch.input: Add test cases for matching empty strings.
Diffstat (limited to 'posix/tst-fnmatch.input')
-rw-r--r--posix/tst-fnmatch.input6
1 files changed, 5 insertions, 1 deletions
diff --git a/posix/tst-fnmatch.input b/posix/tst-fnmatch.input
index 219124556e..e448576be1 100644
--- a/posix/tst-fnmatch.input
+++ b/posix/tst-fnmatch.input
@@ -713,5 +713,9 @@ C		"["			"!([!]a[])"	       0       EXTMATCH
 C		"]"			"!([!]a[])"	       0       EXTMATCH
 C		")"			"*([)])"	       0       EXTMATCH
 C		"*"			"*([*(])"	       0       EXTMATCH
-C		"abcd"			"*!(|a)cd"	       NOMATCH EXTMATCH
+C		"abcd"			"*!(|a)cd"	       0       EXTMATCH
 C		"ab/.a"			"+([abc])/*"	       NOMATCH EXTMATCH|PATHNAME|PERIOD
+C		""			""		       0
+C		""			""		       0       EXTMATCH
+C		""			"*([abc])"	       0       EXTMATCH
+C		""			"?([abc])"	       0       EXTMATCH