diff options
author | Ulrich Drepper <drepper@redhat.com> | 1998-12-10 10:00:31 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 1998-12-10 10:00:31 +0000 |
commit | 648c133790556357a430d83c2c89a2bd01df9e27 (patch) | |
tree | bc39460863b155333aeb1a8bafc884e48e3ed1d5 /posix/runptests.c | |
parent | b77e6cd62103be90cd9cdd8e24372cb5324916ad (diff) | |
download | glibc-648c133790556357a430d83c2c89a2bd01df9e27.tar glibc-648c133790556357a430d83c2c89a2bd01df9e27.tar.gz glibc-648c133790556357a430d83c2c89a2bd01df9e27.tar.bz2 glibc-648c133790556357a430d83c2c89a2bd01df9e27.zip |
Update.
1998-12-09 Geoff Keating <geoffk@ozemail.com.au>
* sysdeps/unix/sysv/linux/sys/procfs.h: Use sys/user.h not
asm/user.h.
* sysdeps/unix/sysv/linux/mips/sys/procfs.h: Likewise.
* sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: New file,
like linux/sys/procfs.h but uses uid_t and gid_t.
* sysdeps/unix/sysv/linux/powerpc/sys/user.h: New file,
don't include <linux/ptrace.h>.
1998-12-08 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
* posix/runptests.c (main): Check that regcomp did not succeed
unexpectedly.
* posix/runtests.c (run_a_test): Likewise. Return appropriate
exit code.
* posix/TESTS: Regexp "a[b-a]" should not compile.
* posix/PTESTS: Comment out bogus tests GA113(2), GA145(2) and
GA147(2).
1998-12-09 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
* locale/programs/ld-ctype.c (allocate_arrays): Don't crash if
there is no codeset name.
* locale/programs/ld-collate.c (collate_output): Don't crash if a
character has no weight.
Diffstat (limited to 'posix/runptests.c')
-rw-r--r-- | posix/runptests.c | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/posix/runptests.c b/posix/runptests.c index b1eabb9ebd..fcea5b342a 100644 --- a/posix/runptests.c +++ b/posix/runptests.c @@ -63,8 +63,8 @@ main (int argc, char *argv[]) err = regcomp (&re, tests[cnt].reg, tests[cnt].options); if (err != 0) { - if (tests[cnt].start == -1) - puts ("failed, OK"); + if (tests[cnt].start == -2) + puts ("compiling failed, OK"); else { char buf[100]; @@ -75,6 +75,12 @@ main (int argc, char *argv[]) continue; } + else if (tests[cnt].start == -2) + { + puts ("compiling suceeds, FAIL"); + errors++; + continue; + } /* Run the actual test. */ err = regexec (&re, tests[cnt].str, 20, match, 0); |