tests: Put test-tool and comment into own section.
[libguestfs.git] / php / extension / guestfs_php_001.phpt
1 --TEST--
2 Load the module and create a handle.
3 --FILE--
4 <?php
5
6 // See comment in php/run-php-tests.sh.
7 //putenv ('LIBGUESTFS_DEBUG=1');
8
9 $g = guestfs_create ();
10 if ($g == false) {
11   echo ("Failed to create guestfs_php handle.\n");
12   exit;
13 }
14 echo ("Created guestfs_php handle.\n");
15 ?>
16 --EXPECT--
17 Created guestfs_php handle.