summaryrefslogtreecommitdiff
path: root/ext/sybase_ct/tests/test_close_notopen.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'ext/sybase_ct/tests/test_close_notopen.phpt')
-rw-r--r--ext/sybase_ct/tests/test_close_notopen.phpt18
1 files changed, 18 insertions, 0 deletions
diff --git a/ext/sybase_ct/tests/test_close_notopen.phpt b/ext/sybase_ct/tests/test_close_notopen.phpt
new file mode 100644
index 0000000..13b4571
--- /dev/null
+++ b/ext/sybase_ct/tests/test_close_notopen.phpt
@@ -0,0 +1,18 @@
+--TEST--
+Sybase-CT close not open
+--SKIPIF--
+<?php require('skipif.inc'); ?>
+--FILE--
+<?php
+/* This file is part of PHP test framework for ext/sybase_ct
+ *
+ * $Id$
+ */
+
+ require('test.inc');
+
+ sybase_close();
+?>
+--EXPECTF--
+
+Warning: sybase_close(): Sybase: No connection to close in %s on line %d