From: Remi Collet <fedora(a)famillecollet.com>
---
src/tests/test-connect.phpt | 15 +++++++++++++++
1 file changed, 15 insertions(+)
create mode 100644 src/tests/test-connect.phpt
diff --git a/src/tests/test-connect.phpt b/src/tests/test-connect.phpt
new file mode 100644
index 0000000..2aab021
--- /dev/null
+++ b/src/tests/test-connect.phpt
@@ -0,0 +1,15 @@
+--TEST--
+libvirt_version
+--SKIPIF--
+<?php require_once('skipif.inc'); ?>
+--FILE--
+<?php
+ $conn = libvirt_connect('test:///default');
+ var_dump($conn);
+ unset($conn);
+?>
+Done
+--EXPECTF--
+resource(%d) of type (Libvirt connection)
+Done
+
--
2.5.5