From: Ulrich Drepper Date: Sun, 23 Aug 2009 23:03:48 +0000 (-0700) Subject: Extend last test case. X-Git-Tag: fedora/glibc-2.10.90-16~1^2~22 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=a1ed6c284a2ad191f13c640d34c2563b5c366267;p=thirdparty%2Fglibc.git Extend last test case. --- diff --git a/posix/bug-regex29.c b/posix/bug-regex29.c index 70a6c94cc60..bd796c6c2a2 100644 --- a/posix/bug-regex29.c +++ b/posix/bug-regex29.c @@ -8,7 +8,14 @@ do_test (void) char buf[100]; regerror(e, &r, buf, sizeof (buf)); printf ("e = %d (%s)\n", e, buf); - return e != REG_BADBR; + int res = e != REG_BADBR; + + e = regcomp(&r, "xy\\{4,5a\\}zabc", 0); + regerror(e, &r, buf, sizeof (buf)); + printf ("e = %d (%s)\n", e, buf); + res |= e != REG_BADBR; + + return res; } #define TEST_FUNCTION do_test ()