mirror of
git://sourceware.org/git/glibc.git
synced 2024-11-27 03:41:23 +08:00
Update.
* posix/bug-regex11.c: And one more commented out test.
This commit is contained in:
parent
1d9b73ab80
commit
3ccd8d2767
@ -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.
|
||||
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user