From 25d733047e9414a9807f297214967649b220e111 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Wed, 6 May 2020 08:18:21 +0200 Subject: Fix plan if at is not installed Else we were seeing: Failed to schedule copy of ISO to fake SCSI device # Tests were run but no plan was declared and done_testing() was not seen. --- t/23-wait-for-insert.t | 1 + t/24-wait-for-mounted.t | 1 + 2 files changed, 2 insertions(+) diff --git a/t/23-wait-for-insert.t b/t/23-wait-for-insert.t index eb822d0..e51ff8e 100644 --- a/t/23-wait-for-insert.t +++ b/t/23-wait-for-insert.t @@ -4,6 +4,7 @@ use helper; use Test::More; plan skip_all => "You need to be root to run this test" if $> != 0; plan skip_all => "The scsi_debug kernel module is needed to run this test" if !can_create_fake_media(); +plan 'no_plan'; use_ok('Hal::Cdroms'); diff --git a/t/24-wait-for-mounted.t b/t/24-wait-for-mounted.t index 6695abe..2f09f10 100644 --- a/t/24-wait-for-mounted.t +++ b/t/24-wait-for-mounted.t @@ -5,6 +5,7 @@ use File::Temp qw(tempdir); use Test::More; plan skip_all => "You need to be root to run this test" if $> != 0; plan skip_all => "The scsi_debug kernel module is needed to run this test" if !can_create_fake_media(); +plan 'no_plan'; use_ok('Hal::Cdroms'); -- cgit v1.2.1