diff options
Diffstat (limited to 'php/extension/guestfs_php_001.phpt')
-rw-r--r-- | php/extension/guestfs_php_001.phpt | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/php/extension/guestfs_php_001.phpt b/php/extension/guestfs_php_001.phpt new file mode 100644 index 00000000..771592ff --- /dev/null +++ b/php/extension/guestfs_php_001.phpt @@ -0,0 +1,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. |