aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <thierry.vignaud@gmail.com>2020-05-06 08:18:21 +0200
committerThierry Vignaud <thierry.vignaud@gmail.com>2020-05-06 08:22:09 +0200
commit25d733047e9414a9807f297214967649b220e111 (patch)
treec13734da5d2ec04f3e392e3178547a5e8ba6ff63
parentfbb52fc30d93aeafe6efc062fa76dbe83577054d (diff)
downloadperl-Hal-Cdroms-25d733047e9414a9807f297214967649b220e111.tar
perl-Hal-Cdroms-25d733047e9414a9807f297214967649b220e111.tar.gz
perl-Hal-Cdroms-25d733047e9414a9807f297214967649b220e111.tar.bz2
perl-Hal-Cdroms-25d733047e9414a9807f297214967649b220e111.tar.xz
perl-Hal-Cdroms-25d733047e9414a9807f297214967649b220e111.zip
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.
-rw-r--r--t/23-wait-for-insert.t1
-rw-r--r--t/24-wait-for-mounted.t1
2 files changed, 2 insertions, 0 deletions
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');