summaryrefslogtreecommitdiff
path: root/ext/dbx/tests/004.phpt
diff options
context:
space:
mode:
authorSVN Migration <svn@php.net>2002-06-06 10:51:27 +0000
committerSVN Migration <svn@php.net>2002-06-06 10:51:27 +0000
commit7f58b0ee31131ebce43cc4c4ed027052687d4fb7 (patch)
treeb06473ce5f5208818bcec2228c22d458b55b3ca2 /ext/dbx/tests/004.phpt
parentd1826b42874c4a1e29c0ac75810204571c387d20 (diff)
downloadphp-git-RELEASE_0_90.tar.gz
This commit was manufactured by cvs2svn to create tag 'RELEASE_0_90'.RELEASE_0_90
Diffstat (limited to 'ext/dbx/tests/004.phpt')
-rw-r--r--ext/dbx/tests/004.phpt30
1 files changed, 0 insertions, 30 deletions
diff --git a/ext/dbx/tests/004.phpt b/ext/dbx/tests/004.phpt
deleted file mode 100644
index 80baa53374..0000000000
--- a/ext/dbx/tests/004.phpt
+++ /dev/null
@@ -1,30 +0,0 @@
---TEST--
-dbx_close
---SKIPIF--
-<?php if (!extension_loaded("dbx")) print("skip"); ?>
---POST--
---GET--
---FILE--
-<?php
-include_once("ext/dbx/tests/dbx_test.p");
-$dlo = dbx_connect($module, $host, $database, $username, $password);
-if ($dlo!=0) {
- if (dbx_close($dlo)) {
- print('close works ok'."\n");
- }
- }
-if (!@dbx_close($dlo)) {
- print('close failure works ok'."\n");
- }
-if (!@dbx_close($dlo, "12many")) {
- print('too many parameters: close failure works ok'."\n");
- }
-if (!@dbx_close()) {
- print('too few parameters: close failure works ok'."\n");
- }
-?>
---EXPECT--
-close works ok
-close failure works ok
-too many parameters: close failure works ok
-too few parameters: close failure works ok \ No newline at end of file