1
0
mirror of synced 2026-04-25 03:54:31 +00:00
Files
xen-tools.xen-tools/t/xen-tools.t
Axel Beckert 625a6f6282 Make t/xen-tools.t not fail on package build
Note down that t/xen-tools.t is not really functional yet
2012-05-30 23:03:12 +02:00

24 lines
403 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 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') );
};
}
done_testing();