apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cove...@apache.org
Subject svn commit: r1552850 - /apr/apr/branches/1.5.x/test/testescape.c
Date Sat, 21 Dec 2013 00:34:10 GMT
Author: covener
Date: Sat Dec 21 00:34:10 2013
New Revision: 1552850

URL: http://svn.apache.org/r1552850
Log:
backport r1552849 from trunk: disable entity escape/unescape tests on EBCDIC 

Modified:
    apr/apr/branches/1.5.x/test/testescape.c

Modified: apr/apr/branches/1.5.x/test/testescape.c
URL: http://svn.apache.org/viewvc/apr/apr/branches/1.5.x/test/testescape.c?rev=1552850&r1=1552849&r2=1552850&view=diff
==============================================================================
--- apr/apr/branches/1.5.x/test/testescape.c (original)
+++ apr/apr/branches/1.5.x/test/testescape.c Sat Dec 21 00:34:10 2013
@@ -166,6 +166,7 @@ static void test_escape(abts_case *tc, v
             apr_psprintf(pool, "size mismatch (%" APR_SIZE_T_FMT "!=%" APR_SIZE_T_FMT ")",
len, strlen(dest) + 1),
             (len == strlen(dest) + 1));
 
+#if !APR_CHARSET_EBCDIC
     src = "Hello";
     dest = apr_pescape_entity(pool, src, 1);
     ABTS_PTR_EQUAL(tc, src, dest);
@@ -209,6 +210,7 @@ static void test_escape(abts_case *tc, v
     ABTS_ASSERT(tc,
             apr_psprintf(pool, "size mismatch (%" APR_SIZE_T_FMT "!=%" APR_SIZE_T_FMT ")",
len, strlen(dest) + 1),
             (len == strlen(dest) + 1));
+#endif
 
     src = "Hello";
     dest = apr_pescape_echo(pool, src, 0);



Mime
View raw message