Browse Source

MFH: fix/add SKIPIF

PECL_OPENSSL
Hannes Magnusson 20 years ago
parent
commit
aaa1d62614
  1. 2
      ext/dom/tests/bug34276.phpt
  2. 2
      ext/dom/tests/bug35342.phpt
  3. 2
      ext/dom/tests/dom002.phpt
  4. 2
      ext/iconv/tests/bug37176.phpt
  5. 2
      ext/mbstring/tests/mb_send_mail01.phpt
  6. 2
      ext/mbstring/tests/mb_send_mail02.phpt
  7. 2
      ext/mbstring/tests/mb_send_mail03.phpt
  8. 2
      ext/mbstring/tests/mb_send_mail04.phpt
  9. 2
      ext/mbstring/tests/mb_send_mail05.phpt
  10. 2
      ext/mbstring/tests/mb_send_mail06.phpt
  11. 2
      ext/mbstring/tests/mb_send_mail07.phpt
  12. BIN
      ext/mcrypt/tests/bug37595.phpt
  13. 5
      ext/mysql/tests/skipif.inc
  14. 2
      ext/simplexml/tests/bug35785.phpt
  15. 2
      ext/simplexml/tests/bug36611.phpt
  16. 2
      ext/simplexml/tests/bug37565.phpt
  17. 2
      ext/simplexml/tests/profile12.phpt
  18. 2
      ext/simplexml/tests/profile13.phpt
  19. 2
      ext/spl/tests/array_021.phpt
  20. 2
      ext/spl/tests/array_022.phpt
  21. 2
      ext/spl/tests/bug36941.phpt
  22. 2
      ext/spl/tests/bug37457.phpt
  23. 2
      ext/wddx/tests/bug37569.phpt
  24. 2
      ext/wddx/tests/bug37587.phpt
  25. 2
      ext/xmlreader/tests/bug36743.phpt
  26. 2
      ext/xmlrpc/tests/bug37057.phpt

2
ext/dom/tests/bug34276.phpt

@ -1,7 +1,7 @@
--TEST--
Bug # 34276: setAttributeNS and default namespace
--SKIPIF--
<?php require_once('skipif.php'); ?>
<?php require_once('skipif.inc'); ?>
--FILE--
<?php
$xml = <<<HERE

2
ext/dom/tests/bug35342.phpt

@ -1,7 +1,7 @@
--TEST--
Bug # 35342: isset(DOMNodeList->length) returns false
--SKIPIF--
<?php require_once('skipif.php'); ?>
<?php require_once('skipif.inc'); ?>
--FILE--
<?php
$dom = new DOMDocument();

2
ext/dom/tests/dom002.phpt

@ -1,7 +1,7 @@
--TEST--
Test 2: getElementsByTagName() / getElementsByTagNameNS()
--SKIPIF--
<?php require_once('skipif.php'); ?>
<?php require_once('skipif.inc'); ?>
--FILE--
<?php
$xml = <<<HERE

2
ext/iconv/tests/bug37176.phpt

@ -1,5 +1,7 @@
--TEST--
Bug #37176 (iconv_strpos() fails to find a string)
--SKIPIF--
<?php include('skipif.inc'); ?>
--FILE--
<?php
var_dump(iconv_strpos('11--','1-',0,'UTF-8'));

2
ext/mbstring/tests/mb_send_mail01.phpt

@ -2,7 +2,7 @@
mb_send_mail() test 1 (lang=neutral)
--SKIPIF--
<?php
if (@mb_send_mail() === false || !mb_language("neutral")) {
if (!function_exists("mb_send_mail") || !mb_language("neutral")) {
die("skip mb_send_mail() not available");
}
?>

2
ext/mbstring/tests/mb_send_mail02.phpt

@ -2,7 +2,7 @@
mb_send_mail() test 2 (lang=Japanese)
--SKIPIF--
<?php
if (@mb_send_mail() === false || !mb_language("japanese")) {
if (!function_exists("mb_send_mail") || !mb_language("japanese")) {
die("skip mb_send_mail() not available");
}
?>

2
ext/mbstring/tests/mb_send_mail03.phpt

@ -2,7 +2,7 @@
mb_send_mail() test 3 (lang=English)
--SKIPIF--
<?php
if (@mb_send_mail() === false || !mb_language("english")) {
if (!function_exists("mb_send_mail") || !mb_language("english")) {
die("skip mb_send_mail() not available");
}
?>

2
ext/mbstring/tests/mb_send_mail04.phpt

@ -2,7 +2,7 @@
mb_send_mail() test 4 (lang=German)
--SKIPIF--
<?php
if (@mb_send_mail() === false || !mb_language("german")) {
if (!function_exists("mb_send_mail") || !mb_language("german")) {
die("skip mb_send_mail() not available");
}
?>

2
ext/mbstring/tests/mb_send_mail05.phpt

@ -2,7 +2,7 @@
mb_send_mail() test 5 (lang=Simplified Chinese)
--SKIPIF--
<?php
if (@mb_send_mail() === false || !mb_language("Simplified Chinese")) {
if (!function_exists("mb_send_mail") || !mb_language("Simplified Chinese")) {
die("skip mb_send_mail() not available");
}
if (!@mb_internal_encoding('GB2312')) {

2
ext/mbstring/tests/mb_send_mail06.phpt

@ -2,7 +2,7 @@
mb_send_mail() test 6 (lang=Traditional Chinese)
--SKIPIF--
<?php
if (@mb_send_mail() === false || !mb_language("Traditional Chinese")) {
if (!function_exists("mb_send_mail") || !mb_language("Traditional Chinese")) {
die("skip mb_send_mail() not available");
}
if (!@mb_internal_encoding('BIG5')) {

2
ext/mbstring/tests/mb_send_mail07.phpt

@ -2,7 +2,7 @@
mb_send_mail() test 7 (lang=Korean)
--SKIPIF--
<?php
if (@mb_send_mail() === false || !mb_language("Korean")) {
if (!function_exists("mb_send_mail") || !mb_language("Korean")) {
die("skip mb_send_mail() not available");
}
if (!@mb_internal_encoding('ISO-2022-KR')) {

BIN
ext/mcrypt/tests/bug37595.phpt

5
ext/mysql/tests/skipif.inc

@ -1,8 +1,11 @@
<?php
include 'connect.inc';
if (!extension_loaded("mysql")) {
die('skip mysql extension not available');
}
$link = @mysql_connect($host, $user, $passwd);
if (!$link) die('skip cannot connect');
mysql_close($link);
?>
?>

2
ext/simplexml/tests/bug35785.phpt

@ -1,5 +1,7 @@
--TEST--
Bug #35785 (SimpleXML memory read error)
--SKIPIF--
<?php if (!extension_loaded("simplexml")) print "skip"; ?>
--FILE--
<?php

2
ext/simplexml/tests/bug36611.phpt

@ -1,5 +1,7 @@
--TEST--
Bug #36611 (assignment to SimpleXML object attribute changes argument type to string)
--SKIPIF--
<?php if (!extension_loaded("simplexml")) print "skip"; ?>
--FILE--
<?php

2
ext/simplexml/tests/bug37565.phpt

@ -1,5 +1,7 @@
--TEST--
Bug #37565 Using reflection::export with simplexml causing a crash
--SKIPIF--
<?php if (!extension_loaded("simplexml")) print "skip"; ?>
--FILE--
<?php

2
ext/simplexml/tests/profile12.phpt

@ -1,5 +1,7 @@
--TEST--
SimpleXML [profile]: Accessing namespaced root and non namespaced children
--SKIPIF--
<?php if (!extension_loaded("simplexml")) print "skip"; ?>
--FILE--
<?php

2
ext/simplexml/tests/profile13.phpt

@ -1,5 +1,7 @@
--TEST--
SimpleXML [profile]: Accessing by namespace prefix
--SKIPIF--
<?php if (!extension_loaded("simplexml")) print "skip"; ?>
--FILE--
<?php

2
ext/spl/tests/array_021.phpt

@ -1,5 +1,7 @@
--TEST--
SPL: ArrayObject::seek() and exceptions
--SKIPIF--
<?php if (!extension_loaded("spl")) print "skip"; ?>
--FILE--
<?php

2
ext/spl/tests/array_022.phpt

@ -1,5 +1,7 @@
--TEST--
SPL: ArrayObject/Iterator and reference to self
--SKIPIF--
<?php if (!extension_loaded("spl")) print "skip"; ?>
--FILE--
==ArrayObject===
<?php

2
ext/spl/tests/bug36941.phpt

@ -1,5 +1,7 @@
--TEST--
Bug #36941 (ArrayIterator does not clone itself)
--SKIPIF--
<?php if (!extension_loaded("spl")) print "skip"; ?>
--FILE--
===ArrayObject===
<?php

2
ext/spl/tests/bug37457.phpt

@ -1,5 +1,7 @@
--TEST--
Bug #37457 (Crash when an exception is thrown in accept() method of FilterIterator)
--SKIPIF--
<?php if (!extension_loaded("spl")) print "skip"; ?>
--FILE--
<?php

2
ext/wddx/tests/bug37569.phpt

@ -1,5 +1,7 @@
--TEST--
Bug #37569 (WDDX incorrectly encodes high-ascii characters)
--SKIPIF--
<?php if (!extension_loaded("wddx")) print "skip"; ?>
--FILE--
<?php
echo wddx_serialize_value(chr(1))."\n";

2
ext/wddx/tests/bug37587.phpt

@ -1,5 +1,7 @@
--TEST--
Bug #37587 (var without attribute causes segfault)
--SKIPIF--
<?php if (!extension_loaded("wddx")) print "skip"; ?>
--FILE--
<?php

2
ext/xmlreader/tests/bug36743.phpt

@ -1,5 +1,7 @@
--TEST--
Bug #36743 (In a class extending XMLReader array properties are not writable)
--SKIPIF--
<?php if (!extension_loaded("xmlreader")) print "skip"; ?>
--FILE--
<?php

2
ext/xmlrpc/tests/bug37057.phpt

@ -1,5 +1,7 @@
--TEST--
Bug #37057 (xmlrpc_decode() may produce arrays with numeric string keys which are unaccessible)
--SKIPIF--
<?php if (!extension_loaded("xmlrpc")) print "skip"; ?>
--FILE--
<?php
$response='<?xml version="1.0"?>

Loading…
Cancel
Save