Fixed an error in checking the file type in the test suite helper.

This commit is contained in:
依瑪貓 2022-03-19 09:42:11 +08:00
parent 980409b142
commit e977e6ec9c

View File

@ -375,7 +375,7 @@ sub write_file($$) {
}
# an xz compressed file
} elsif ($file =~ /\.xz/) {
} elsif ($file =~ /\.xz$/) {
# IO::Compress::Xz
if (eval { require IO::Compress::Xz; 1; }) {
my $xz;