1
0
mirror of synced 2026-01-17 08:32:49 +00:00
xen-tools.xen-tools/t/xen-tools.t
2010-07-16 18:07:12 +02:00

22 lines
397 B
Perl
Executable File

#!/usr/bin/perl -I../lib -I./lib
#
# Test we can load the (stub) Xen::Tools package.
#
use strict;
use warnings;
use Test::More tests => 1, skip_all => 'Xen::Tools is not used for now';
SKIP: {
skip "Test only works as root", 1 if $< > 0;
eval {
use Xen::Tools;
my $xt = Xen::Tools->new( hostname => 'xen-tools-test' );
ok( $xt->isa('Xen::Tools') );
}
}