Update.
authorUlrich Drepper <drepper@redhat.com>
Tue, 4 Jul 2000 20:00:19 +0000 (20:00 +0000)
committerUlrich Drepper <drepper@redhat.com>
Tue, 4 Jul 2000 20:00:19 +0000 (20:00 +0000)
* posix/tst-fnmatch.input: Add more test cases.

ChangeLog
posix/tst-fnmatch.input

index 30643df..0a0b648 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
 2000-07-04  Ulrich Drepper  <drepper@redhat.com>
 
+       * posix/tst-fnmatch.input: Add more test cases.
+
        * crypt/md5-crypt.c (__md5_crypt_r): If buffers for key and salt
        are not aligned to alignof(md5_uint32) do it before calling
        __md5_process_bytes.
index bf28653..04d21a0 100644 (file)
@@ -43,7 +43,6 @@ C              "a/b"                  "?/b"                  0
 # B.6 007(C)
 C               "a/b"                  "a?b"                  0
 C               "a/b"                  "a/?"                  0
-C               "a/b"                  "a?b"                  NOMATCH PATHNAME
 C               "aa/b"                 "?/b"                  NOMATCH
 C               "aa/b"                 "a?b"                  NOMATCH
 C               "a/bb"                 "a/?"                  NOMATCH
@@ -284,3 +283,51 @@ C          "."                     "?"                    0
 C              "/."                    "??"                   0
 C              "/"                     "[!a-c]"               0
 C              "."                     "[!a-c]"               0
+
+# B.6 029(C)
+C              "/"                     "/"                    0       PATHNAME
+C              "//"                    "//"                   0       PATHNAME
+C              "/.a"                   "/*"                   0       PATHNAME
+C              "/.a"                   "/?a"                  0       PATHNAME
+C              "/.a"                   "/[!a-z]a"             0       PATHNAME
+C              "/.a/.b"                "/*/?b"                0       PATHNAME
+
+# B.6 030(C)
+C              "/"                     "?"                    NOMATCH PATHNAME
+C              "/"                     "*"                    NOMATCH PATHNAME
+C               "a/b"                  "a?b"                  NOMATCH PATHNAME
+C              "/.a/.b"                "/*b"                  NOMATCH PATHNAME
+
+# B.6 031(C)
+C              "/$"                    "\\/\\$"               0
+C              "/["                    "\\/\\["               0
+C              "/["                    "\\/["                 NOMATCH
+
+# B.6 032(C)
+C              "/$"                    "\\/\\$"               NOMATCH NOESCAPE
+C              "/\\$"                  "\\/\\$"               NOMATCH NOESCAPE
+C              "\\/\\$"                "\\/\\$"               0       NOESCAPE
+
+# B.6 033(C)
+C              ".asd"                  ".*"                   0       PERIOD
+C              "/.asd"                 "*"                    0       PERIOD
+C              "/as/.df"               "*/?*f"                0       PERIOD
+C              "..asd"                 ".[!a-z]*"             0       PERIOD
+
+# B.6 034(C)
+C              ".asd"                  "*"                    NOMATCH PERIOD
+C              ".asd"                  "?asd"                 NOMATCH PERIOD
+C              ".asd"                  "[!a-z]*"              NOMATCH PERIOD
+
+# B.6 035(C)
+C              "/."                    "/."                   0       PATHNAME|PERIOD
+C              "/.a./.b."              "/.*/.*"               0       PATHNAME|PERIOD
+C              "/.a./.b."              "/.??/.??"             0       PATHNAME|PERIOD
+
+# B.6 036(C)
+C              "/."                    "*"                    NOMATCH PATHNAME|PERIOD
+C              "/."                    "/*"                   NOMATCH PATHNAME|PERIOD
+C              "/."                    "/?"                   NOMATCH PATHNAME|PERIOD
+C              "/."                    "/[!a-z]"              NOMATCH PATHNAME|PERIOD
+C              "/a./.b."               "/*/*"                 NOMATCH PATHNAME|PERIOD
+C              "/a./.b."               "/??/???"              NOMATCH PATHNAME|PERIOD