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