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.
This commit is contained in:
Ulf Wendel 2007-10-10 14:31:28 +00:00
parent b0677f4beb
commit 1f651c4051
2 changed files with 9 additions and 5 deletions

View File

@ -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!
done!

View File

@ -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";