From: Remi Collet <fedora(a)famillecollet.com>
---
src/tests/test-conn-limit.phpt | 2 +-
src/tests/test-connect-get-emulator.phpt | 15 +++++++++++++++
src/tests/test-connect.phpt | 2 +-
3 files changed, 17 insertions(+), 2 deletions(-)
create mode 100644 src/tests/test-connect-get-emulator.phpt
diff --git a/src/tests/test-conn-limit.phpt b/src/tests/test-conn-limit.phpt
index 23f8e98..8fa0fc4 100644
--- a/src/tests/test-conn-limit.phpt
+++ b/src/tests/test-conn-limit.phpt
@@ -1,5 +1,5 @@
--TEST--
-libvirt_version
+INI: libvirt.max_connections
--SKIPIF--
<?php require_once('skipif.inc'); ?>
--INI--
diff --git a/src/tests/test-connect-get-emulator.phpt
b/src/tests/test-connect-get-emulator.phpt
new file mode 100644
index 0000000..7d8e8ce
--- /dev/null
+++ b/src/tests/test-connect-get-emulator.phpt
@@ -0,0 +1,15 @@
+--TEST--
+libvirt_connect_get_emulator
+--SKIPIF--
+<?php require_once('skipif.inc'); ?>
+--FILE--
+<?php
+ $conn = libvirt_connect('test:///default');
+ var_dump(libvirt_connect_get_emulator($conn));
+ unset($conn);
+?>
+Done
+--EXPECTF--
+string(%d) "%s"
+Done
+
diff --git a/src/tests/test-connect.phpt b/src/tests/test-connect.phpt
index 2aab021..f0cfce9 100644
--- a/src/tests/test-connect.phpt
+++ b/src/tests/test-connect.phpt
@@ -1,5 +1,5 @@
--TEST--
-libvirt_version
+libvirt_connect
--SKIPIF--
<?php require_once('skipif.inc'); ?>
--FILE--
--
2.5.5