Suffix list test
This commit is contained in:
parent
c9b1068298
commit
53ea32cabe
@ -620,6 +620,23 @@ else
|
||||
$ECHO "lz4 mode not supported"
|
||||
fi
|
||||
|
||||
$ECHO "\n===> suffix list test"
|
||||
|
||||
$ZSTD -d tmp.abc 2> tmplg || echo
|
||||
|
||||
if [ $GZIPMODE -ne 1 ]; then
|
||||
grep ".gz" tmplg > $INTOVOID && die "Unsupported suffix listed"
|
||||
fi
|
||||
|
||||
if [ $LZMAMODE -ne 1 ]; then
|
||||
grep ".lzma" tmplg > $INTOVOID && die "Unsupported suffix listed"
|
||||
grep ".xz" tmplg > $INTOVOID && die "Unsupported suffix listed"
|
||||
fi
|
||||
|
||||
if [ $LZ4MODE -ne 1 ]; then
|
||||
grep ".lz4" tmplg > $INTOVOID && die "Unsupported suffix listed"
|
||||
fi
|
||||
|
||||
$ECHO "\n===> zstd round-trip tests "
|
||||
|
||||
roundTripTest
|
||||
|
Loading…
Reference in New Issue
Block a user