1
0
mirror of synced 2026-03-30 18:54:43 +00:00

Make t/xen-tools.t not fail on package build

Note down that t/xen-tools.t is not really functional yet
This commit is contained in:
Axel Beckert
2012-05-30 21:48:39 +02:00
parent 2277f433c1
commit 625a6f6282
2 changed files with 13 additions and 2 deletions

View File

@@ -32,3 +32,12 @@ Bugs to fix before a 4.3 release
* xen-list-images does not honour --extension
* --extension='' (i.e. empty string) no more works
Bugs to fix later
-----------------
t/xen-tools.t can't really test Xen::Tools as the latter requires a
local Xen installation. For proper testing, a dummy set of Xen
configuration files and configurable paths to them in Xen::Tools would
be necessary.

View File

@@ -6,7 +6,7 @@
use strict;
use warnings;
use Test::More tests => 1, skip_all => 'Xen::Tools is not used for now';
use Test::More skip_all => 'Xen::Tools is not used for now';
SKIP: {
skip "Test only works as root", 1 if $< > 0;
@@ -17,5 +17,7 @@ SKIP: {
my $xt = Xen::Tools->new( hostname => 'xen-tools-test' );
ok( $xt->isa('Xen::Tools') );
}
};
}
done_testing();