Tests: Skip .lz files in test_files.sh if not configured.

Previously if the lzip decoder was not configured then test_files.sh
would pass the lzip tests instead of skipping them.
This commit is contained in:
Jia Tan 2023-07-21 18:05:44 +08:00
parent 194d12724b
commit 39a32d36fc
1 changed files with 1 additions and 1 deletions

View File

@ -174,7 +174,7 @@ done
# .lz #
#######
if grep 'define HAVE_LZIP_DECODER' ../config.h > /dev/null ; then
if have_feature LZIP_DECODER ".lz files" ; then
for I in "$srcdir"/files/good-*.lz
do
if test -z "$XZ" || "$XZ" -dc "$I" > /dev/null; then