From ae15242e59bc77355d76c7407bca8c4665c430c2 Mon Sep 17 00:00:00 2001 From: jvoisin Date: Mon, 25 Sep 2017 22:43:15 +0200 Subject: Improve the travis file - if something is failing, display the guilty outputs. - Don't spam php's tracker - Failing tests are now triggering an `exit 1` - Fix a test to make it work on every php version (php changed the error message) - `make -j2` on travis --- src/tests/disable_xxe_dom.phpt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/tests') diff --git a/src/tests/disable_xxe_dom.phpt b/src/tests/disable_xxe_dom.phpt index 864b2a1..8b63589 100644 --- a/src/tests/disable_xxe_dom.phpt +++ b/src/tests/disable_xxe_dom.phpt @@ -50,7 +50,7 @@ Warning: DOMDocument::loadXML(): Failure to process entity foo in Entity, line: Warning: DOMDocument::loadXML(): Entity 'foo' not defined in Entity, line: %d in %a/disable_xxe_dom.php on line %d -Notice: Trying to get property of non-object in %a/disable_xxe_dom.php on line %d +Notice: Trying to get property %a in %a/disable_xxe_dom.php on line %d libxml_disable_entity to true: Warning: DOMDocument::loadXML(): I/O warning : failed to load external entity "file://%a/content.txt" in %a/disable_xxe_dom.php on line %d @@ -59,7 +59,7 @@ Warning: DOMDocument::loadXML(): Failure to process entity foo in Entity, line: Warning: DOMDocument::loadXML(): Entity 'foo' not defined in Entity, line: %d in %a/disable_xxe_dom.php on line %d -Notice: Trying to get property of non-object in %a/disable_xxe_dom.php on line %d +Notice: Trying to get property %a in %a/disable_xxe_dom.php on line %d libxml_disable_entity to false: without xxe: foo --CLEAN-- -- cgit v1.3