From 2188a5e59c512668dc3c76607fb8ccad4910cc3c Mon Sep 17 00:00:00 2001 From: Christian Persch Date: Thu, 28 Jun 2012 23:21:16 +0200 Subject: [PATCH] regex: Enable fixed test This problem was fixed in PCRE 8.31, so uncomment the test. --- glib/tests/regex.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/glib/tests/regex.c b/glib/tests/regex.c index 72a0155..2359a41 100644 --- a/glib/tests/regex.c +++ b/glib/tests/regex.c @@ -2165,10 +2165,8 @@ main (int argc, char *argv[]) TEST_NEW_FAIL ("^\\c€", 0, G_REGEX_ERROR_INVALID_CONTROL_CHAR); TEST_NEW_FAIL ("\\k", 0, G_REGEX_ERROR_MISSING_NAME); TEST_NEW_FAIL ("a[\\NB]c", 0, G_REGEX_ERROR_NOT_SUPPORTED_IN_CLASS); -#if 0 - /* This one should fail but doesn't. Why? */ TEST_NEW_FAIL ("(*:0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEFG)XX", 0, G_REGEX_ERROR_NAME_TOO_LONG); -#endif + /* These errors can't really be tested sanely: * G_REGEX_ERROR_EXPRESSION_TOO_LARGE * G_REGEX_ERROR_MEMORY_ERROR -- 2.7.4