mirror of
https://git.tukaani.org/xz.git
synced 2024-04-04 12:36:23 +02:00
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
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue