diff options
-rw-r--r-- | ChangeLog | 13 | ||||
-rw-r--r-- | posix/TESTS2C.sed | 2 | ||||
-rw-r--r-- | posix/testcases.h | 8 |
3 files changed, 22 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog index bc0007502e..ce27e16c34 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,16 @@ +1997-05-03 00:53 Ulrich Drepper <drepper@cygnus.com> + + * posix/TESTS2C.sed: Recognize only digits in first field. This + enables us to use colons in the pattern. + +1997-05-01 20:02 Richard Henderson <rth@tamu.edu> + + * sysdeps/unix/sysv/linux/alpha/brk.S: Don't presume that the kernel + will preserve non-call-saved registers; save and restore a0 across + the system call. + * sysdeps/unix/sysv/linux/alpha/clone.S: Likewise tuck the thread + data onto the new thread's stack. + 1997-05-01 03:13 Ulrich Drepper <drepper@cygnus.com> * sysdeps/unix/sysv/linux/shmat.c (shmat): For Linux-2.0 and up the diff --git a/posix/TESTS2C.sed b/posix/TESTS2C.sed index 28dd131dac..d8c2d72617 100644 --- a/posix/TESTS2C.sed +++ b/posix/TESTS2C.sed @@ -1,2 +1,2 @@ s/\\/\\\\/g -s/\(.*\):\(.*\):\(.*\)/ {\1, "\2", "\3"},/ +s/\([0-9]*\):\(.*\):\(.*\)/ {\1, "\2", "\3"},/ diff --git a/posix/testcases.h b/posix/testcases.h index c471ca0613..d5dce0ae0f 100644 --- a/posix/testcases.h +++ b/posix/testcases.h @@ -157,3 +157,11 @@ {0, "M[ou]'?am+[ae]r .*([AEae]l[- ])?[GKQ]h?[aeu]+([dtz][dhz]?)+af[iy]", "Moammar Qudhafi"}, {0, "M[ou]'?am+[ae]r .*([AEae]l[- ])?[GKQ]h?[aeu]+([dtz][dhz]?)+af[iy]", "Mu'ammar al-Qaddafi"}, {0, "M[ou]'?am+[ae]r .*([AEae]l[- ])?[GKQ]h?[aeu]+([dtz][dhz]?)+af[iy]", "Mulazim Awwal Mu'ammar Muhammad Abu Minyar al-Qadhafi"}, + {0, "[[:digit:]]+", "01234"}, + {1, "[[:alpha:]]+", "01234"}, + {0, "^[[:digit:]]*$", "01234"}, + {1, "^[[:digit:]]*$", "01234a"}, + {0, "^[[:alnum:]]*$", "01234a"}, + {0, "^[[:xdigit:]]*$", "01234a"}, + {1, "^[[:xdigit:]]*$", "01234g"}, + {0, "^[[:alnum:][:space:]]*$", "Hello world"}, |