summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlf Wendel <uw@php.net>2007-10-10 14:31:28 +0000
committerUlf Wendel <uw@php.net>2007-10-10 14:31:28 +0000
commit1f651c40515fcaacb9ffde854ee42d71186582d3 (patch)
tree5fb802f1dea4af28222b4329d8c5c82a06f0ace3
parentb0677f4bebda6149612363e5afd7166b0803ccdd (diff)
downloadphp-git-1f651c40515fcaacb9ffde854ee42d71186582d3.tar.gz
Version specific EXPECF sections would be wonderful (bug31668.phpt).
And sometimes it helps to read the commit messages to keep tests up to date: we removed mysqli_set_local_infile_handler() from mysqlnd (061.phpt) some time ago.
-rw-r--r--ext/mysqli/tests/061.phpt8
-rw-r--r--ext/mysqli/tests/bug31668.phpt6
2 files changed, 9 insertions, 5 deletions
diff --git a/ext/mysqli/tests/061.phpt b/ext/mysqli/tests/061.phpt
index 0618c3a703..22575aaecc 100644
--- a/ext/mysqli/tests/061.phpt
+++ b/ext/mysqli/tests/061.phpt
@@ -1,9 +1,11 @@
--TEST--
local infile handler
--SKIPIF--
-<?php
-require_once('skipif.inc');
+<?php
+require_once('skipif.inc');
require_once('skipifconnectfailure.inc');
+if (!function_exists('mysqli_set_local_infile_handler'))
+ die("skip - function not available.");
?>
--FILE--
<?php
@@ -58,4 +60,4 @@ foo-bar
unicode-unicode
rab-oof
unicode-unicode
-done! \ No newline at end of file
+done!
diff --git a/ext/mysqli/tests/bug31668.phpt b/ext/mysqli/tests/bug31668.phpt
index 83636b142f..b9a9589558 100644
--- a/ext/mysqli/tests/bug31668.phpt
+++ b/ext/mysqli/tests/bug31668.phpt
@@ -1,10 +1,12 @@
--TEST--
Bug #31668 (multi_query works exactly every other time (multi_query was global, now per connection))
--SKIPIF--
-<?php
-require_once('skipif.inc');
+<?php
+require_once('skipif.inc');
require_once('skipifconnectfailure.inc');
?>
+--INI--
+error_reporting = E_ALL & ~E_STRICT
--FILE--
<?php
include "connect.inc";