diff options
-rw-r--r-- | test_iso.pl | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/test_iso.pl b/test_iso.pl index caacbaf..446b5ad 100644 --- a/test_iso.pl +++ b/test_iso.pl @@ -24,7 +24,7 @@ use 5.010; use MDK::Common; use TAP::Harness; use TAP::Parser::Aggregator; -use Tools; +use Isocheck; my ($image_path) = @ARGV; @@ -53,16 +53,16 @@ print "# Host\t\t: ", `uname -n`; my $aggregator = TAP::Parser::Aggregator->new; $aggregator->start; -$harness->aggregate_tests($aggregator, glob('t/*.t')); +$harness->aggregate_tests($aggregator, glob('image_tests/*.t')); -my $name = basename($image_path); -my %info = Tools::parse_mageia_iso_name($name); +my $name = basename($image_path); +my %info = Isocheck::parse_image_file_name($name); my @testfiles; if ($info{variant} =~ /^LiveCD/) { - @testfiles = glob('t_live_iso/*.t'); + @testfiles = glob('image_tests/live_iso/*.t'); } else { - @testfiles = glob('t_install_iso/*.t'); + @testfiles = glob('image_tests/install_iso/*.t'); } if (@testfiles) { |