summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2020-05-20 18:55:29 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2020-05-20 19:42:48 +0200
commitf6fdb2630152ae7803932d9e13cbf1d11183fbae (patch)
tree456d606ce6dc1c401be94413aa4727905c98b836 /sys-libs/libnih/files/libnih-1.0.3-expat-2.2.5.patch
parentx11-misc/fracplanet: EAPI-7 bump (diff)
downloadgentoo-f6fdb2630152ae7803932d9e13cbf1d11183fbae.tar.gz
gentoo-f6fdb2630152ae7803932d9e13cbf1d11183fbae.tar.bz2
gentoo-f6fdb2630152ae7803932d9e13cbf1d11183fbae.zip
sys-libs/libnih: Fix 1/2 broken tests
Bug: https://bugs.gentoo.org/623930 Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'sys-libs/libnih/files/libnih-1.0.3-expat-2.2.5.patch')
-rw-r--r--sys-libs/libnih/files/libnih-1.0.3-expat-2.2.5.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/sys-libs/libnih/files/libnih-1.0.3-expat-2.2.5.patch b/sys-libs/libnih/files/libnih-1.0.3-expat-2.2.5.patch
new file mode 100644
index 000000000000..02b5e4c0a9e2
--- /dev/null
+++ b/sys-libs/libnih/files/libnih-1.0.3-expat-2.2.5.patch
@@ -0,0 +1,15 @@
+Description: Adapt test suite to expat 2.2.5
+Author: Axel Beckert <abe@debian.org>
+Bug-Debian: https://bugs.debian.org/886416
+
+--- a/nih-dbus-tool/tests/test_parse.c
++++ b/nih-dbus-tool/tests/test_parse.c
+@@ -7950,7 +7950,7 @@
+
+ TEST_EQ_P (node, NULL);
+
+- TEST_FILE_EQ (output, ("test:foo:2:0: "
++ TEST_FILE_EQ (output, ("test:foo:1:36: "
+ "Invalid object path in <node> name attribute\n"));
+ TEST_FILE_END (output);
+ TEST_FILE_RESET (output);