Commit 6c859b4c authored by Michal Novotny's avatar Michal Novotny

Add test-get-models test and ncrement version number to 0.4.9

Signed-off-by: 's avatarMichal Novotny <>
parent 2720ab25
AC_INIT([libvirt-php], [0.4.8], [])
AC_INIT([libvirt-php], [0.4.9], [])
AM_INIT_AUTOMAKE([-Wall -Werror])
AC_CONFIG_FILES([Makefile tools/Makefile src/Makefile tests/Makefile docs/Makefile])
$conn = libvirt_connect(NULL);
//$conn = libvirt_connect('qemu:///system');
if (!is_resource($conn))
bail('Connection to default hypervisor failed');
$soundhw = libvirt_connect_get_soundhw_models($conn, NULL, VIR_CONNECT_FLAG_SOUNDHW_GET_NAMES);
$nics = libvirt_connect_get_nic_models($conn);
if ((is_bool($soundhw)) || (is_bool($nics)))
bail('Cannot get sound hardware or network card models');
success( basename(__FILE__) );
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment