From 648c133790556357a430d83c2c89a2bd01df9e27 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Thu, 10 Dec 1998 10:00:31 +0000 Subject: Update. 1998-12-09 Geoff Keating * 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 . 1998-12-08 Andreas Schwab * 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 * 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. --- posix/runptests.c | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'posix/runptests.c') 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); -- cgit v1.2.3