Skip crc32 test if 'cksum' is not present for comparison (e.g. SkyOS)
This commit is contained in:
parent
736a761bff
commit
0d21e71407
|
@ -36,6 +36,13 @@ sub run() {
|
||||||
# lets see if the system 'cksum' agree's with siggen's crc32 value
|
# lets see if the system 'cksum' agree's with siggen's crc32 value
|
||||||
#
|
#
|
||||||
my ($crc32, undef) = split(/ /, `cksum $twtools::twrootdir/test`);
|
my ($crc32, undef) = split(/ /, `cksum $twtools::twrootdir/test`);
|
||||||
|
|
||||||
|
if ($crc32 eq "") {
|
||||||
|
++$twtools::twskippedtests;
|
||||||
|
print "SKIPPED\n";
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
my $siggen = `$twtools::twrootdir/bin/siggen -h -t -C $twtools::twrootdir/test`;
|
my $siggen = `$twtools::twrootdir/bin/siggen -h -t -C $twtools::twrootdir/test`;
|
||||||
|
|
||||||
chomp $crc32;
|
chomp $crc32;
|
||||||
|
|
Loading…
Reference in New Issue