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 <minovotn@redhat.com>
parent 2720ab25
AC_INIT([libvirt-php], [0.4.8], [http://libvirt.org])
AC_INIT([libvirt-php], [0.4.9], [http://libvirt.org])
AM_INIT_AUTOMAKE([-Wall -Werror])
AC_CONFIG_FILES([Makefile tools/Makefile src/Makefile tests/Makefile docs/Makefile])
AM_INIT_AUTOMAKE([-Wno-portability])
......
<?php
require_once('functions.phpt');
$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');
unset($conn);
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