diff options
author | Ulf Wendel <uw@php.net> | 2007-10-12 11:46:41 +0000 |
---|---|---|
committer | Ulf Wendel <uw@php.net> | 2007-10-12 11:46:41 +0000 |
commit | 2027c85be25f162f13fb92f70a630c3e8b582ce7 (patch) | |
tree | fa934cdd081185a71e546e2c59fa07e6d3b7ef48 | |
parent | 8b3bfa7cf7f5da785ae670e6660c20a5a811ac6c (diff) | |
download | php-git-2027c85be25f162f13fb92f70a630c3e8b582ce7.tar.gz |
Fixing tests.
-rw-r--r-- | ext/mysqli/tests/061.phpt | 8 | ||||
-rw-r--r-- | ext/mysqli/tests/bug31668.phpt | 6 |
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"; |