From 5fed10e109d3dd42cc42e8d21ddc6a3c2c9c4ef7 Mon Sep 17 00:00:00 2001 From: "Christoph M. Becker" Date: Wed, 3 Jun 2015 23:14:23 +0200 Subject: [PATCH] added XFAIL test for bug #69753 --- ext/libxml/tests/bug69753.phpt | 18 ++++++++++++++++++ ext/libxml/tests/bug69753.xml | 4 ++++ 2 files changed, 22 insertions(+) create mode 100644 ext/libxml/tests/bug69753.phpt create mode 100644 ext/libxml/tests/bug69753.xml diff --git a/ext/libxml/tests/bug69753.phpt b/ext/libxml/tests/bug69753.phpt new file mode 100644 index 0000000000..693e0247a2 --- /dev/null +++ b/ext/libxml/tests/bug69753.phpt @@ -0,0 +1,18 @@ +--TEST-- +Bug #69753 - libXMLError::file contains invalid URI +--XFAIL-- +Awaiting upstream fix: https://bugzilla.gnome.org/show_bug.cgi?id=750365 +--SKIPIF-- + +--FILE-- +load(__DIR__ . '/bug69753.xml'); +$error = libxml_get_last_error(); +var_dump($error->file); +?> +--EXPECTF-- +string(%d) "file:///%s/ext/libxml/tests/bug69753.xml" diff --git a/ext/libxml/tests/bug69753.xml b/ext/libxml/tests/bug69753.xml new file mode 100644 index 0000000000..63b18d5c6d --- /dev/null +++ b/ext/libxml/tests/bug69753.xml @@ -0,0 +1,4 @@ + + + + -- 2.40.0