You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@apr.apache.org by jo...@apache.org on 2009/06/03 16:34:36 UTC

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

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);