File: test-connect.phpt

package info (click to toggle)
libvirt-php 0.5.4-3%2Bdeb10u1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 5,504 kB
  • sloc: cpp: 11,159; ansic: 8,629; sh: 4,345; makefile: 184; xml: 93
file content (11 lines) | stat: -rw-r--r-- 214 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
<?php
	require_once('functions.phpt');

	$conn = libvirt_connect('test:///default');
	if (!is_resource($conn))
		bail('Connection to default hypervisor failed');

	unset($conn);

	success( basename(__FILE__) );
?>