1
0
mirror of synced 2026-01-21 01:48:09 +00:00
xen-tools.xen-tools/t/xen-tools.t.disabled
Axel Beckert 8ba16d0e7a Disable tests of not yet used Xen::Tools perl modules.
Fixes FTBFS in test suite due to not satisifed Moose dependency in
Xen::Tools::Log.
2012-06-08 17:37:28 +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();