Correct the order of parameters passed to skip to ensure the following tests are only executed under qemu and lxc environments: hooks/051-daemon-hook.t hooks/052-domain-hook.t --- scripts/hooks/051-daemon-hook.t | 2 +- scripts/hooks/052-domain-hook.t | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/hooks/051-daemon-hook.t b/scripts/hooks/051-daemon-hook.t index da46edf..61909c1 100644 --- a/scripts/hooks/051-daemon-hook.t +++ b/scripts/hooks/051-daemon-hook.t @@ -43,7 +43,7 @@ END { $tck->cleanup if $tck; } SKIP: { my $uri = $conn->get_uri(); - skip 12, "NOT using QEMU/LXC driver" unless + skip "NOT using QEMU/LXC driver", 12 unless $uri eq "qemu:///system" or $uri eq "lxc:///"; my $hook = Sys::Virt::TCK::Hooks->new(type => 'daemon', diff --git a/scripts/hooks/052-domain-hook.t b/scripts/hooks/052-domain-hook.t index 460d72d..cdd70af 100644 --- a/scripts/hooks/052-domain-hook.t +++ b/scripts/hooks/052-domain-hook.t @@ -46,7 +46,7 @@ END { $tck->cleanup if $tck; } SKIP: { my $uri = $conn->get_uri(); - skip 12, "Not using QEMU/LXC driver" unless + skip "NOT using QEMU/LXC driver", 12 unless $uri eq "qemu:///system" or $uri eq "lxc:///"; my $xml = $tck->generic_domain(name => "tck")->as_xml; -- 1.8.4.5 -- libvir-list mailing list libvir-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvir-list