You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/dev-libs/xmlwrapp/files/xmlwrapp-0.5.0-tests.patch

34 lines
1.6 KiB

diff -Naur tests.orig/attributes/data/09.xml tests/attributes/data/09.xml
--- tests.orig/attributes/data/09.xml 2006-10-24 21:45:02.000000000 +0200
+++ tests/attributes/data/09.xml 2006-10-24 21:45:21.000000000 +0200
@@ -1,2 +1,2 @@
-<!DOCTYPE root SYSTEM "data/09.dtd">
+<!DOCTYPE root SYSTEM "09.dtd">
<root one="1"/>
diff -Naur tests.orig/attributes/data/10.xml tests/attributes/data/10.xml
--- tests.orig/attributes/data/10.xml 2006-10-24 21:45:02.000000000 +0200
+++ tests/attributes/data/10.xml 2006-10-24 21:45:30.000000000 +0200
@@ -1,3 +1,3 @@
<?xml version="1.0" ?>
-<!DOCTYPE example SYSTEM "data/10.dtd">
+<!DOCTYPE example SYSTEM "10.dtd">
<example>See?</example>
diff -Naur tests.orig/document/data/14inc.xml tests/document/data/14inc.xml
--- tests.orig/document/data/14inc.xml 2006-10-24 21:45:02.000000000 +0200
+++ tests/document/data/14inc.xml 2006-10-24 21:45:09.000000000 +0200
@@ -1 +1 @@
-<subchild><innerchild self="yes"/></subchild>
+<subchild xml:base="data/14inc.xml"><innerchild self="yes"/></subchild>
diff -Naur tests.orig/xslt/runtest.pl tests/xslt/runtest.pl
--- tests.orig/xslt/runtest.pl 2006-12-13 23:10:49.000000000 +0100
+++ tests/xslt/runtest.pl 2006-12-13 23:11:05.000000000 +0100
@@ -42,7 +42,7 @@
sub runtests
{
###########################################################################
- foreach (['a', 1], ['b', 0], ['c', 1]) {
+ foreach (['b', 0]) {
$test->run_test_exit_status("constructor (01$_->[0])", "./test_xslt-01 data/01$_->[0].xsl", $_->[1]);
}
###########################################################################