summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcus Boerger <helly@php.net>2005-03-13 22:35:34 +0000
committerMarcus Boerger <helly@php.net>2005-03-13 22:35:34 +0000
commit7c4cd0422955dd09e9b4b5038e5a1a030b82d305 (patch)
tree8ae991a87875ccd133d7bd30f392c6d2280118e7
parentdd64e6dedebb81b90e284c6f908b25d827a77277 (diff)
downloadphp-git-7c4cd0422955dd09e9b4b5038e5a1a030b82d305.tar.gz
- Update tests
-rwxr-xr-xext/pdo_mysql/tests/pdo_014.phpt1
-rwxr-xr-xext/pdo_mysql/tests/pdo_018.phpt1
-rwxr-xr-xext/pdo_pgsql/tests/pdo_014.phpt1
-rwxr-xr-xext/pdo_pgsql/tests/pdo_018.phpt1
-rwxr-xr-xext/pdo_sqlite/tests/pdo_014.phpt1
-rwxr-xr-xext/pdo_sqlite/tests/pdo_018.phpt1
6 files changed, 6 insertions, 0 deletions
diff --git a/ext/pdo_mysql/tests/pdo_014.phpt b/ext/pdo_mysql/tests/pdo_014.phpt
index c268ad00d4..a702c93e7d 100755
--- a/ext/pdo_mysql/tests/pdo_014.phpt
+++ b/ext/pdo_mysql/tests/pdo_014.phpt
@@ -4,6 +4,7 @@ PDO_MySQL: PDOStatement and SPL Iterators
<?php # vim:ft=php
require_once('skipif.inc');
if (!extension_loaded('SPL')) die('skip SPL not available');
+if (!class_exists('IteratorIterator')) die ('skip Class IteratorIterator does not exist');
?>
--FILE--
<?php
diff --git a/ext/pdo_mysql/tests/pdo_018.phpt b/ext/pdo_mysql/tests/pdo_018.phpt
index 2a77a0a77c..2cc56bcb47 100755
--- a/ext/pdo_mysql/tests/pdo_018.phpt
+++ b/ext/pdo_mysql/tests/pdo_018.phpt
@@ -3,6 +3,7 @@ PDO_MySQL: PDO Unserializing
--SKIPIF--
<?php # vim:ft=php
require_once('skipif.inc');
+if (!interface_exists('Serializeable')) die ('skip Interface Serializeable does not exist');
?>
--FILE--
<?php
diff --git a/ext/pdo_pgsql/tests/pdo_014.phpt b/ext/pdo_pgsql/tests/pdo_014.phpt
index 74cf077bdf..eed5575c85 100755
--- a/ext/pdo_pgsql/tests/pdo_014.phpt
+++ b/ext/pdo_pgsql/tests/pdo_014.phpt
@@ -4,6 +4,7 @@ PDO_PGSQL: PDOStatement and SPL Iterators
<?php # vim:ft=php
require_once('skipif.inc');
if (!extension_loaded('SPL')) die('skip SPL not available');
+if (!class_exists('IteratorIterator')) die ('skip Class IteratorIterator does not exist');
?>
--FILE--
<?php
diff --git a/ext/pdo_pgsql/tests/pdo_018.phpt b/ext/pdo_pgsql/tests/pdo_018.phpt
index 6eaa66c788..99ccfe3648 100755
--- a/ext/pdo_pgsql/tests/pdo_018.phpt
+++ b/ext/pdo_pgsql/tests/pdo_018.phpt
@@ -3,6 +3,7 @@ PDO_PGSQL: PDO Unserializing
--SKIPIF--
<?php # vim:ft=php
require_once('skipif.inc');
+if (!interface_exists('Serializeable')) die ('skip Interface Serializeable does not exist');
?>
--FILE--
<?php
diff --git a/ext/pdo_sqlite/tests/pdo_014.phpt b/ext/pdo_sqlite/tests/pdo_014.phpt
index a9441a2f18..7c6e306cca 100755
--- a/ext/pdo_sqlite/tests/pdo_014.phpt
+++ b/ext/pdo_sqlite/tests/pdo_014.phpt
@@ -4,6 +4,7 @@ PDO_SQLite: PDOStatement and SPL Iterators
<?php # vim:ft=php
require_once('skipif.inc');
if (!extension_loaded('SPL')) die('skip SPL not available');
+if (!class_exists('IteratorIterator')) die ('skip Class IteratorIterator does not exist');
?>
--FILE--
<?php
diff --git a/ext/pdo_sqlite/tests/pdo_018.phpt b/ext/pdo_sqlite/tests/pdo_018.phpt
index 8fd5d1f267..600d02b910 100755
--- a/ext/pdo_sqlite/tests/pdo_018.phpt
+++ b/ext/pdo_sqlite/tests/pdo_018.phpt
@@ -3,6 +3,7 @@ PDO_SQLite: PDO Unserializing
--SKIPIF--
<?php # vim:ft=php
require_once('skipif.inc');
+if (!interface_exists('Serializeable')) die ('skip Interface Serializeable does not exist');
?>
--FILE--
<?php