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
e49815ba7a
commit
ef7fbe8393
|
@ -174,7 +174,7 @@ done
|
||||||
# .lz #
|
# .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
|
for I in "$srcdir"/files/good-*.lz
|
||||||
do
|
do
|
||||||
if test -z "$XZ" || "$XZ" -dc "$I" > /dev/null; then
|
if test -z "$XZ" || "$XZ" -dc "$I" > /dev/null; then
|
||||||
|
|
Loading…
Reference in New Issue