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:
parent
194d12724b
commit
39a32d36fc
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue