apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "William A. Rowe, Jr." <wr...@rowe-clan.net>
Subject [Fwd: svn commit: r781409 - /apr/apr/trunk/test/testxml.c]
Date Wed, 03 Jun 2009 14:45:28 GMT
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);





Mime
View raw message