Revised the decompression parameters in the test suite helper.
This commit is contained in:
parent
219945c6d4
commit
6b324fe01f
@ -241,7 +241,7 @@ sub read_file($) {
|
||||
} else {
|
||||
my ($PH, $CMD);
|
||||
$CMD = where_is "gzip";
|
||||
$CMD = "\"$CMD\" -cd \"$file\"";
|
||||
$CMD = "\"$CMD\" -cdf \"$file\"";
|
||||
open $PH, "$CMD |" or die this_file . ": $CMD: $!";
|
||||
$content = join "", <$PH>;
|
||||
close $PH or die this_file . ": $CMD: $!";
|
||||
@ -264,7 +264,7 @@ sub read_file($) {
|
||||
} else {
|
||||
my ($PH, $CMD);
|
||||
$CMD = where_is "bzip2";
|
||||
$CMD = "\"$CMD\" -cd \"$file\"";
|
||||
$CMD = "\"$CMD\" -cdf \"$file\"";
|
||||
open $PH, "$CMD |" or die this_file . ": $CMD: $!";
|
||||
$content = join "", <$PH>;
|
||||
close $PH or die this_file . ": $CMD: $!";
|
||||
@ -287,7 +287,7 @@ sub read_file($) {
|
||||
} else {
|
||||
my ($PH, $CMD);
|
||||
$CMD = where_is "xz";
|
||||
$CMD = "\"$CMD\" -cd \"$file\"";
|
||||
$CMD = "\"$CMD\" -cdf \"$file\"";
|
||||
open $PH, "$CMD |" or die this_file . ": $CMD: $!";
|
||||
$content = join "", <$PH>;
|
||||
close $PH or die this_file . ": $CMD: $!";
|
||||
|
Loading…
Reference in New Issue
Block a user