Browse Source

add missing skipif conditions

fix existing ones
PHP-5.1
Antony Dovgal 21 years ago
parent
commit
c92ae847c7
  1. 2
      ext/calendar/tests/jdtojewish.phpt
  2. 2
      ext/ctype/tests/bug25745.phpt
  3. 2
      ext/ctype/tests/bug34645.phpt
  4. 2
      ext/iconv/tests/iconv003.phpt
  5. 2
      ext/iconv/tests/iconv004.phpt
  6. 2
      ext/iconv/tests/iconv_mime_decode_headers.phpt
  7. 2
      ext/mbstring/tests/bug28220.phpt
  8. 2
      ext/mbstring/tests/bug30549.phpt
  9. 2
      ext/mbstring/tests/bug31911.phpt
  10. 2
      ext/oci8/tests/cursor_bind.phpt
  11. 4
      ext/pdo_sqlite/tests/bug35336.phpt
  12. 2
      ext/simplexml/tests/bug27010.phpt
  13. 2
      ext/sqlite/tests/bug28112.phpt
  14. 2
      ext/tokenizer/tests/001.phpt
  15. 2
      ext/tokenizer/tests/002.phpt
  16. 2
      ext/tokenizer/tests/003.phpt
  17. 2
      ext/tokenizer/tests/bug26463.phpt
  18. 2
      ext/wddx/tests/001.phpt
  19. 2
      ext/wddx/tests/bug27287.phpt
  20. 2
      ext/wddx/tests/bug34306.phpt
  21. 2
      ext/wddx/tests/bug35410.phpt

2
ext/calendar/tests/jdtojewish.phpt

@ -1,5 +1,7 @@
--TEST--
jdtojewish() function
--SKIPIF--
<?php include 'skipif.inc'; ?>
--FILE--
<?php

2
ext/ctype/tests/bug25745.phpt

@ -1,5 +1,7 @@
--TEST--
Bug #25745 (ctype functions fail with non-ascii characters)
--SKIPIF--
<?php if (!extension_loaded("ctype")) print "skip"; ?>
--FILE--
<?php
$funcs = array(

2
ext/ctype/tests/bug34645.phpt

@ -1,5 +1,7 @@
--TEST--
Bug #34645 (ctype corrupts memory when validating large numbers)
--SKIPIF--
<?php if (!extension_loaded("ctype")) print "skip"; ?>
--FILE--
<?php
$id = 394829384;

2
ext/iconv/tests/iconv003.phpt

@ -1,5 +1,7 @@
--TEST--
iconv() test 3
--SKIPIF--
<?php extension_loaded('iconv') or die('skip iconv extension is not available'); ?>
--FILE--
<?php
for ($i = 0; $i < 3; ++$i) {

2
ext/iconv/tests/iconv004.phpt

@ -1,5 +1,7 @@
--TEST--
iconv_mime_encode() sanity cheeck.
--SKIPIF--
<?php extension_loaded('iconv') or die('skip iconv extension is not available'); ?>
--FILE--
<?php
var_dump(iconv_mime_encode('', ''));

2
ext/iconv/tests/iconv_mime_decode_headers.phpt

@ -1,6 +1,6 @@
--TEST--
iconv_mime_decode_headers()
--SKIP--
--SKIPIF--
<?php extension_loaded('iconv') or die('skip iconv extension is not available'); ?>
--INI--
iconv.internal_charset=iso-8859-1

2
ext/mbstring/tests/bug28220.phpt

@ -1,5 +1,7 @@
--TEST--
Bug #28220 (mb_strwidth() returns wrong width values for some Hangul characters)
--SKIPIF--
<?php extension_loaded('mbstring') or die('skip mbstring not available'); ?>
--FILE--
<?php
$coderange = array(

2
ext/mbstring/tests/bug30549.phpt

@ -1,5 +1,7 @@
--TEST--
Bug #30549 (incorrect character translations for some ISO8859 charsets)
--SKIPIF--
<?php extension_loaded('mbstring') or die('skip mbstring not available'); ?>
--FILE--
<?php
test('ISO-8859-7', array(0xa4 => 0x20ac, 0xa5 => 0x20af, 0xaa => 0x037a));

2
ext/mbstring/tests/bug31911.phpt

@ -1,5 +1,7 @@
--TEST--
Bug #31911 (mb_decode_mimeheader() is case-sensitive to hex escapes)
--SKIPIF--
<?php extension_loaded('mbstring') or die('skip mbstring not available'); ?>
--FILE--
<?php
echo mb_decode_mimeheader("Works: =?iso-8859-1?q?=3F=3F=3F?=");

2
ext/oci8/tests/cursor_bind.phpt

@ -1,5 +1,7 @@
--TEST--
bind and fetch cursor from a statement
--SKIPIF--
<?php if (!extension_loaded('oci8')) die("skip no oci8 extension"); ?>
--FILE--
<?php

4
ext/pdo_sqlite/tests/bug35336.phpt

@ -1,5 +1,9 @@
--TEST--
Bug #35336 (crash on PDO::FETCH_CLASS + __set())
--SKIPIF--
<?php # vim:ft=php
if (!extension_loaded('pdo_sqlite')) print 'skip not loaded';
?>
--FILE--
<?php
class EEE {

2
ext/simplexml/tests/bug27010.phpt

@ -1,5 +1,7 @@
--TEST--
Bug #27010 (segfault and node text not displayed when returned from children())
--SKIPIF--
<?php if (!extension_loaded("simplexml")) print "skip"; ?>
--FILE--
<?php

2
ext/sqlite/tests/bug28112.phpt

@ -1,5 +1,7 @@
--TEST--
Bug #28112 (sqlite_query() crashing apache on malformed query)
--SKIPIF--
<?php if (!extension_loaded("sqlite")) print "skip"; ?>
--FILE--
<?php

2
ext/tokenizer/tests/001.phpt

@ -1,5 +1,7 @@
--TEST--
token_name()
--SKIPIF--
<?php if (!extension_loaded("tokenizer")) print "skip"; ?>
--FILE--
<?php

2
ext/tokenizer/tests/002.phpt

@ -1,5 +1,7 @@
--TEST--
token_get_all()
--SKIPIF--
<?php if (!extension_loaded("tokenizer")) print "skip"; ?>
--FILE--
<?php

2
ext/tokenizer/tests/003.phpt

@ -1,5 +1,7 @@
--TEST--
token_get_all() and wrong parameters
--SKIPIF--
<?php if (!extension_loaded("tokenizer")) print "skip"; ?>
--FILE--
<?php

2
ext/tokenizer/tests/bug26463.phpt

@ -1,5 +1,7 @@
--TEST--
Bug #26463 (token_get_all() does not correctly handle semicolons after T_END_HEREDOC)
--SKIPIF--
<?php if (!extension_loaded("tokenizer")) print "skip"; ?>
--FILE--
<?php
$str = '<?php

2
ext/wddx/tests/001.phpt

@ -1,5 +1,7 @@
--TEST--
wddx deserialization test
--SKIPIF--
<?php if (!extension_loaded("wddx")) print "skip"; ?>
--FILE--
<?php
$path = dirname(__FILE__);

2
ext/wddx/tests/bug27287.phpt

@ -1,5 +1,7 @@
--TEST--
Bug #27287 (segfault with deserializing object data)
--SKIPIF--
<?php if (!extension_loaded("wddx")) print "skip"; ?>
--FILE--
<?php

2
ext/wddx/tests/bug34306.phpt

@ -1,5 +1,7 @@
--TEST--
#34306 (wddx_serialize_value() crashes with long array keys)
--SKIPIF--
<?php if (!extension_loaded("wddx")) print "skip"; ?>
--FILE--
<?php

2
ext/wddx/tests/bug35410.phpt

@ -1,5 +1,7 @@
--TEST--
#35410 (wddx_deserialize() doesn't handle large ints as keys properly)
--SKIPIF--
<?php if (!extension_loaded("wddx")) print "skip"; ?>
--FILE--
<?php
$wddx = <<<WDX

Loading…
Cancel
Save