* posix/bug-regex11.c: And one more commented out test.
This commit is contained in:
Ulrich Drepper 2003-11-21 22:38:10 +00:00
parent 1d9b73ab80
commit 3ccd8d2767
3 changed files with 13 additions and 6 deletions

View File

@ -1,5 +1,7 @@
2003-11-21 Jakub Jelinek <jakub@redhat.com>
* posix/bug-regex11.c: And one more commented out test.
* posix/tst-rxspencer.c (mb_tests): Don't run identical multi-byte
tests multiple times unnecessarily.

View File

@ -31,6 +31,15 @@ static char fname[] = "/tmp/tst-cond12-XXXXXX";
static int fd;
static void prepare (void);
#define PREPARE(argc, argv) prepare ()
static int do_test (void);
#define TEST_FUNCTION do_test ()
#include "../test-skeleton.c"
static void
prepare (void)
{
@ -47,12 +56,6 @@ prepare (void)
exit (1);
}
}
#define PREPARE(argc, argv) prepare ()
static int do_test (void);
#define TEST_FUNCTION do_test ()
#include "../test-skeleton.c"
static int

View File

@ -62,6 +62,8 @@ struct
{ "()(b)\\1c\\2", "bcb", REG_EXTENDED, 3, { { 0, 3 }, { 0, 0 }, { 1, 2 } } },
{ "(b())\\2\\1", "bbbb", REG_EXTENDED, 3, { { 0, 2 }, { 0, 1 }, { 1, 1 } } },
{ "(bb())\\2\\1", "bbbb", REG_EXTENDED, 3, { { 0, 4 }, { 0, 2 }, { 2, 2 } } },
{ "^(.?)(.?)(.?)(.?)(.?)(.?)(.?)(.?)(.?).?\\9\\8\\7\\6\\5\\4\\3\\2\\1$",
"level", REG_NOSUB | REG_EXTENDED, 0, { { -1, -1 } } },
#endif
};