summaryrefslogtreecommitdiff
path: root/ext/xml
diff options
context:
space:
mode:
authorfoobar <sniper@php.net>2001-03-20 01:22:07 +0000
committerfoobar <sniper@php.net>2001-03-20 01:22:07 +0000
commitde3f4059971c9fcac212f4cb10aa76eff5408a23 (patch)
treeb4b0eb2d8a8a1435b675faed30a12e35d7990dad /ext/xml
parent4f18fcb8633db9253397ad6e928a07047d2d1dd4 (diff)
downloadphp-git-de3f4059971c9fcac212f4cb10aa76eff5408a23.tar.gz
Removed skipif.php + Fixed tests to use skipif.inc instead.
Diffstat (limited to 'ext/xml')
-rw-r--r--ext/xml/tests/004.phpt2
-rw-r--r--ext/xml/tests/006.phpt2
-rw-r--r--ext/xml/tests/skipif.php9
3 files changed, 2 insertions, 11 deletions
diff --git a/ext/xml/tests/004.phpt b/ext/xml/tests/004.phpt
index fc07b23407..5788fcac37 100644
--- a/ext/xml/tests/004.phpt
+++ b/ext/xml/tests/004.phpt
@@ -1,7 +1,7 @@
--TEST--
XML parser case folding test
--SKIPIF--
-<?php include("skipif.php"); ?>
+<?php include("skipif.inc"); ?>
--FILE--
<?php
$xp = xml_parser_create();
diff --git a/ext/xml/tests/006.phpt b/ext/xml/tests/006.phpt
index 80c1842fad..a1b339f0e0 100644
--- a/ext/xml/tests/006.phpt
+++ b/ext/xml/tests/006.phpt
@@ -1,7 +1,7 @@
--TEST--
UTF-8<->ISO Latin 1 encoding/decoding test
--SKIPIF--
-<?php include("skipif.php"); ?>
+<?php include("skipif.inc"); ?>
--FILE--
<?php
printf("%s -> %s\n", urlencode("æ"), urlencode(utf8_encode("æ")));
diff --git a/ext/xml/tests/skipif.php b/ext/xml/tests/skipif.php
deleted file mode 100644
index 1c33251b76..0000000000
--- a/ext/xml/tests/skipif.php
+++ /dev/null
@@ -1,9 +0,0 @@
-<?php
-if (!extension_loaded("xml")) {
- $dlext = (substr(PHP_OS, 0, 3) == "WIN") ? ".dll" : ".so";
- @dl("xml$dlext");
-}
-if (!extension_loaded("xml")) {
- print "skip\n";
-}
-?>