From e79f7e3bd992c7f0915ef9afe7afb6d79740527a Mon Sep 17 00:00:00 2001
From: jvoisin
Date: Mon, 14 Jan 2019 19:29:25 +0000
Subject: Reorganize the testsuite
Splitting the testsuite in several components makes it easier to manage and comprehend.
This was also needed some some tests aren't passing on Alpine Linux, but we still want to run
as many of them as we can on this platform.---
src/tests/disable_xxe_simplexml_oop.phpt | 51 --------------------------------
1 file changed, 51 deletions(-)
delete mode 100644 src/tests/disable_xxe_simplexml_oop.phpt
(limited to 'src/tests/disable_xxe_simplexml_oop.phpt')
diff --git a/src/tests/disable_xxe_simplexml_oop.phpt b/src/tests/disable_xxe_simplexml_oop.phpt
deleted file mode 100644
index 43c4fbf..0000000
--- a/src/tests/disable_xxe_simplexml_oop.phpt
+++ /dev/null
@@ -1,51 +0,0 @@
---TEST--
-Disable XXE
---SKIPIF--
-
---INI--
-sp.configuration_file={PWD}/config/disable_xxe.ini
---FILE--
-
-
-]>
-&foo;
-EOD;
-
-file_put_contents('content.xml', $xml);
-
-libxml_disable_entity_loader(true);
-$doc = simplexml_load_string($xml);
-printf("libxml_disable_entity to true: %s\n", $doc->testing);
-
-libxml_disable_entity_loader(false);
-$doc = simplexml_load_string($xml);
-printf("libxml_disable_entity to false: %s\n", $doc->testing);
-
-$xml = "foo";
-file_put_contents('content.xml', $xml);
-
-$doc = simplexml_load_string($xml);
-printf("without xxe: %s", $doc->testing);
-
-?>
---EXPECT--
-libxml_disable_entity to true:
-libxml_disable_entity to false:
-without xxe: foo
---CLEAN--
-
--
cgit v1.3