summaryrefslogtreecommitdiff
path: root/ext/mysqli/tests/043.phpt
diff options
context:
space:
mode:
authorUlf Wendel <uw@php.net>2009-07-06 14:36:52 +0000
committerUlf Wendel <uw@php.net>2009-07-06 14:36:52 +0000
commit97e129a44e9bb230cc5cdc3980562727690bba71 (patch)
tree6c1a194641c7b3dd5c1f24e0191f2559f406f424 /ext/mysqli/tests/043.phpt
parentae10396ec7fe628968d74e2ce053c7530adfeb37 (diff)
downloadphp-git-97e129a44e9bb230cc5cdc3980562727690bba71.tar.gz
Adding --CLEAN-- sections to all ext/mysqli tests
Diffstat (limited to 'ext/mysqli/tests/043.phpt')
-rw-r--r--ext/mysqli/tests/043.phpt11
1 files changed, 11 insertions, 0 deletions
diff --git a/ext/mysqli/tests/043.phpt b/ext/mysqli/tests/043.phpt
index 0cf3e37498..f2be1c8d7b 100644
--- a/ext/mysqli/tests/043.phpt
+++ b/ext/mysqli/tests/043.phpt
@@ -40,6 +40,17 @@ require_once('skipifconnectfailure.inc');
mysqli_close($link);
print "done!";
?>
+--CLEAN--
+<?php
+include "connect.inc";
+if (!$link = mysqli_connect($host, $user, $passwd, $db, $port, $socket))
+ printf("[c001] [%d] %s\n", mysqli_connect_errno(), mysqli_connect_error());
+
+if (!mysqli_query($link, "DROP TABLE IF EXISTS test_update"))
+ printf("[c002] Cannot drop table, [%d] %s\n", mysqli_errno($link), mysqli_error($link));
+
+mysqli_close($link);
+?>
--EXPECTF--
array(1) {
[0]=>