apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cove...@apache.org
Subject svn commit: r1552849 - /apr/apr/trunk/test/testescape.c
Date Sat, 21 Dec 2013 00:33:05 GMT
Author: covener
Date: Sat Dec 21 00:33:05 2013
New Revision: 1552849

URL: http://svn.apache.org/r1552849
Log:
skip entity encode/decode tests on EBCDIC OS.

Modified:
    apr/apr/trunk/test/testescape.c

Modified: apr/apr/trunk/test/testescape.c
URL: http://svn.apache.org/viewvc/apr/apr/trunk/test/testescape.c?rev=1552849&r1=1552848&r2=1552849&view=diff
==============================================================================
--- apr/apr/trunk/test/testescape.c (original)
+++ apr/apr/trunk/test/testescape.c Sat Dec 21 00:33:05 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