You are viewing a plain text version of this content. The canonical link for it is here.
Posted to apreq-cvs@httpd.apache.org by jo...@apache.org on 2005/04/24 14:16:25 UTC
svn commit: r164470 - /httpd/apreq/trunk/library/t/error.c
Author: joes
Date: Sun Apr 24 05:16:24 2005
New Revision: 164470
URL: http://svn.apache.org/viewcvs?rev=164470&view=rev
Log:
Ignore APR_SUCCESS apreq_strerror tests, since its
not portable to older libapr-0's.
Modified:
httpd/apreq/trunk/library/t/error.c
Modified: httpd/apreq/trunk/library/t/error.c
URL: http://svn.apache.org/viewcvs/httpd/apreq/trunk/library/t/error.c?rev=164470&r1=164469&r2=164470&view=diff
==============================================================================
--- httpd/apreq/trunk/library/t/error.c (original)
+++ httpd/apreq/trunk/library/t/error.c Sun Apr 24 05:16:24 2005
@@ -44,9 +44,10 @@
/* Test some common APR status codes also */
+#ifdef APR_SUCCESS_STRERROR_IS_PORTABLE
str = apreq_strerror(APR_SUCCESS, buf, sizeof buf);
AT_str_eq(str, "Success");
-
+#endif
str = apreq_strerror(APR_EINIT, buf, sizeof buf);
AT_str_eq(str, "There is no error, this value signifies an initialized "
"error code");
@@ -71,7 +72,11 @@
apr_pool_t *p;
dAT;
at_test_t test_list [] = {
- { dT(test_strerror, 11), "1" }
+ { dT(test_strerror, 10
+#ifdef APR_SUCCESS_STRERROR_IS_PORTABLE
+ +1
+#endif
+ ), "1" }
};
apr_initialize();
Re: svn commit: r164470 - /httpd/apreq/trunk/library/t/error.c
Posted by "Philip M. Gollucci" <pg...@p6m7g8.com>.
joes@apache.org wrote:
> Author: joes
> Date: Sun Apr 24 05:16:24 2005
> New Revision: 164470
>
> URL: http://svn.apache.org/viewcvs?rev=164470&view=rev
> Log:
> Ignore APR_SUCCESS apreq_strerror tests, since its
> not portable to older libapr-0's.
Good try. Thats an SVN build of APR I'm getting that against
and its definetely libapr-1.
:)
--
END
------------------------------------------------------
Philip M. Gollucci (pgollucci@p6m7g8.com) 301.254.5198
Consultant / http://p6m7g8.net/Resume/resume.shtml
Senior Developer / Liquidity Services, Inc.
http://www.liquidityservicesinc.com
Re: svn commit: r164470 - /httpd/apreq/trunk/library/t/error.c
Posted by "Philip M. Gollucci" <pg...@p6m7g8.com>.
joes@apache.org wrote:
> Author: joes
> Date: Sun Apr 24 05:16:24 2005
> New Revision: 164470
>
> URL: http://svn.apache.org/viewcvs?rev=164470&view=rev
> Log:
> Ignore APR_SUCCESS apreq_strerror tests, since its
> not portable to older libapr-0's.
Good try. Thats an SVN build of APR I'm getting that against
and its definetely libapr-1.
:)
--
END
------------------------------------------------------
Philip M. Gollucci (pgollucci@p6m7g8.com) 301.254.5198
Consultant / http://p6m7g8.net/Resume/resume.shtml
Senior Developer / Liquidity Services, Inc.
http://www.liquidityservicesinc.com