You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@apr.apache.org by "William A. Rowe, Jr." <wr...@rowe-clan.net> on 2009/06/03 16:45:28 UTC

[Fwd: svn commit: r781409 - /apr/apr/trunk/test/testxml.c]

Today gets more and more amusing.

Joe, backport and I'll reroll.

Bill

-------- Original Message --------
Subject: svn commit: r781409 - /apr/apr/trunk/test/testxml.c
Date: Wed, 03 Jun 2009 14:34:36 -0000
From: jorton@apache.org
Reply-To: dev@apr.apache.org
To: commits@apr.apache.org

Author: jorton
Date: Wed Jun  3 14:34:36 2009
New Revision: 781409

URL: http://svn.apache.org/viewvc?rev=781409&view=rev
Log:
* test/testxml.c (test_billion_laughs): Use correct macro and fix data file
  location.

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

Modified: apr/apr/trunk/test/testxml.c
URL:
http://svn.apache.org/viewvc/apr/apr/trunk/test/testxml.c?rev=781409&r1=781408&r2=781409&view=diff
==============================================================================
--- apr/apr/trunk/test/testxml.c (original)
+++ apr/apr/trunk/test/testxml.c Wed Jun  3 14:34:36 2009
@@ -155,9 +155,9 @@
     apr_xml_doc *doc;
     apr_status_t rv;

-    rv = apr_file_open(&fd, "billion-laughs.xml",
+    rv = apr_file_open(&fd, "data/billion-laughs.xml",
                        APR_FOPEN_READ, 0, p);
-    apr_assert_success(tc, "open billion-laughs.xml", rv);
+    APR_ASSERT_SUCCESS(tc, "open billion-laughs.xml", rv);

     rv = apr_xml_parse_file(p, &parser, &doc, fd, 2000);
     ABTS_TRUE(tc, rv != APR_SUCCESS);





Re: [Fwd: svn commit: r781409 - /apr/apr/trunk/test/testxml.c]

Posted by Joe Orton <jo...@redhat.com>.
On Wed, Jun 03, 2009 at 10:27:02AM -0500, William Rowe wrote:
> William A. Rowe, Jr. wrote:
> > Today gets more and more amusing.
> > 
> > Joe, backport and I'll reroll.
> 
> And ping me when you are 'clear' from the apr-1.3 and 0.9 trees so
> they can be rolled.  CHANGES entries would be useful.

I'm done - thanks.  I've only done minimal testing at this point but 
I'll do more once there are tarballs to test.

Regards, Joe

Re: [Fwd: svn commit: r781409 - /apr/apr/trunk/test/testxml.c]

Posted by "William A. Rowe, Jr." <wr...@rowe-clan.net>.
William A. Rowe, Jr. wrote:
> Today gets more and more amusing.
> 
> Joe, backport and I'll reroll.

And ping me when you are 'clear' from the apr-1.3 and 0.9 trees so
they can be rolled.  CHANGES entries would be useful.