diff options
Diffstat (limited to 'ext/dbx/tests/004.phpt')
-rw-r--r-- | ext/dbx/tests/004.phpt | 30 |
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 |