daemon: debug segv correct use of dereferencing NULL.
[libguestfs.git] / perl / t / 010-load.t
index 4aeffb7..e279b2a 100644 (file)
 #
 # You should have received a copy of the GNU General Public License
 # along with this program; if not, write to the Free Software
-# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
 
 use strict;
 use warnings;
-use Test::More;
-
-plan tests => 1;
+use Test::More tests => 1;
 
 BEGIN {
-    use_ok ("Sys::Guestfs") or die;
+    use_ok ("Sys::Guestfs");
 }
-
-my $h = Sys::Guestfs::create ();
-ok ($h);