Skip to content

Commit

Permalink
added XFAIL test for bug #69753
Browse files Browse the repository at this point in the history
  • Loading branch information
cmb69 authored and weltling committed Jun 8, 2015
1 parent 11ece75 commit 5fed10e
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 0 deletions.
18 changes: 18 additions & 0 deletions ext/libxml/tests/bug69753.phpt
Original file line number Diff line number Diff line change
@@ -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--
<?php
if (substr(PHP_OS, 0, 3) != 'WIN') die("skip this test is for Windows platforms only");
?>
--FILE--
<?php
libxml_use_internal_errors(true);
$doc = new DomDocument();
$doc->load(__DIR__ . '/bug69753.xml');
$error = libxml_get_last_error();
var_dump($error->file);
?>
--EXPECTF--
string(%d) "file:///%s/ext/libxml/tests/bug69753.xml"
4 changes: 4 additions & 0 deletions ext/libxml/tests/bug69753.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
<root>
<sub>
</root>

0 comments on commit 5fed10e

Please sign in to comment.