aboutsummaryrefslogtreecommitdiffstats
path: root/t/001_check_file.t
diff options
context:
space:
mode:
authorDamien Lallement <dams@mageia.org>2011-12-13 15:24:33 +0000
committerDamien Lallement <dams@mageia.org>2011-12-13 15:24:33 +0000
commit1f2ca24bf78e6355cd76ec078954af99466a24de (patch)
tree25260655e093d5df8a187844f0b29ac8c620db90 /t/001_check_file.t
parentde97b7594050ca17fc6a9f40741286bc0ebd5fc3 (diff)
downloadisocheck-1f2ca24bf78e6355cd76ec078954af99466a24de.tar
isocheck-1f2ca24bf78e6355cd76ec078954af99466a24de.tar.gz
isocheck-1f2ca24bf78e6355cd76ec078954af99466a24de.tar.bz2
isocheck-1f2ca24bf78e6355cd76ec078954af99466a24de.tar.xz
isocheck-1f2ca24bf78e6355cd76ec078954af99466a24de.zip
- update wiki link
- add 'network' detection - update/clean test available files - update 'check badwords' - update 'display info'
Diffstat (limited to 't/001_check_file.t')
-rw-r--r--t/001_check_file.t8
1 files changed, 0 insertions, 8 deletions
diff --git a/t/001_check_file.t b/t/001_check_file.t
index 022a8d7..edbf7ba 100644
--- a/t/001_check_file.t
+++ b/t/001_check_file.t
@@ -41,10 +41,6 @@ if (scalar %info) {
diag 'See https://wiki.mageia.org/en/Product_naming for more information.';
}
-# are files available?
-ok(-r $image_path, 'ISO file is readable.')
- or diag("$image_path: $!");
-
# is file size correct?
my $du = `du --apparent-size --block-size=MB $image_path`;
my @size_name = split(/\t/, $du);
@@ -56,10 +52,6 @@ ok($size le $max_sizes{$info{medium}},
sprintf("File has a working size (%s) for its medium type (%s, max %s).",
$size, $info{medium}, $max_sizes{$info{medium}}));
-#
-ok(-r $image_path . '.md5', 'MD5 checksum is available.');
-ok(-r $image_path . '.sha1', 'SHA1 checkum is available.');
-
TODO: {
local $TODO = ".idx & .lst" if 1;