diff --git a/xCAT-test/unit/ubuntu_genimage_initrd_firmware.t b/xCAT-test/unit/ubuntu_genimage_initrd_firmware.t index b51bc6ba1..8408545b9 100755 --- a/xCAT-test/unit/ubuntu_genimage_initrd_firmware.t +++ b/xCAT-test/unit/ubuntu_genimage_initrd_firmware.t @@ -15,7 +15,7 @@ use Test::More; my $repo_root = File::Spec->rel2abs(File::Spec->catdir($FindBin::Bin, '..', '..')); my $genimage = File::Spec->catfile( $repo_root, 'xCAT-server', 'share', 'xcat', 'netboot', 'ubuntu', 'genimage'); -plan skip_all => "genimage not found at $genimage" unless -f $genimage; +die "genimage not found at $genimage\n" unless -f $genimage; my $src = do { local $/; open my $fh, '<', $genimage or die $!; <$fh> };