summaryrefslogtreecommitdiff
path: root/ext/mysql/tests/mysql_ping.phpt
diff options
context:
space:
mode:
authorUlf Wendel <uw@php.net>2009-07-02 10:04:25 +0000
committerUlf Wendel <uw@php.net>2009-07-02 10:04:25 +0000
commit2d884dd1e1c92e3fee871b20af0fefd25af91987 (patch)
tree4188132edb132dc54f32f76eeaf5f31e2ef3fb25 /ext/mysql/tests/mysql_ping.phpt
parent2bca33e0d7bf9776f7093dc047d311fe23a18d60 (diff)
downloadphp-git-2d884dd1e1c92e3fee871b20af0fefd25af91987.tar.gz
Adding CLEAN sections, fixing some SKIPIF sections. Cool new run-tests.php, Zoe (and other) - its a great help to detect stinky SKIPIF and CLEAN
Diffstat (limited to 'ext/mysql/tests/mysql_ping.phpt')
-rw-r--r--ext/mysql/tests/mysql_ping.phpt8
1 files changed, 6 insertions, 2 deletions
diff --git a/ext/mysql/tests/mysql_ping.phpt b/ext/mysql/tests/mysql_ping.phpt
index 2e4130e33f..edf18c4391 100644
--- a/ext/mysql/tests/mysql_ping.phpt
+++ b/ext/mysql/tests/mysql_ping.phpt
@@ -1,8 +1,8 @@
--TEST--
mysql_ping()
--SKIPIF--
-<?php
-require_once('skipif.inc');
+<?php
+require_once('skipif.inc');
require_once('skipifconnectfailure.inc');
?>
--FILE--
@@ -37,6 +37,10 @@ if (false !== ($tmp = mysql_ping($link)))
print "done!";
?>
+--CLEAN--
+<?php
+require_once("clean_table.inc");
+?>
--EXPECTF--
bool(true)
bool(true)