mirror of
https://github.com/facebook/zstd.git
synced 2025-11-02 00:21:16 -04:00
Modified Tests
Changed format as per suggestion and added second test
This commit is contained in:
parent
cfc3451dcc
commit
41249bf34b
@ -488,8 +488,9 @@ $ZSTD -rqi1b1e2 tmp1
|
||||
$ECHO "\n===> zstd compatibility tests "
|
||||
|
||||
./datagen > tmp
|
||||
$ZSTD --format=zstd tmp 2> tmplog
|
||||
grep "zst" tmplog > $INTOVOID || die "--format=zstd not supported"
|
||||
rm -f tmp.zst
|
||||
$ZSTD --format=zstd -f tmp
|
||||
test -f tmp.zst
|
||||
|
||||
$ECHO "\n===> gzip compatibility tests "
|
||||
|
||||
@ -527,6 +528,12 @@ else
|
||||
$ECHO "gzip mode not supported"
|
||||
fi
|
||||
|
||||
if [ $GZIPMODE -eq 1 ]; then
|
||||
./datagen > tmp
|
||||
rm -f tmp.zst
|
||||
$ZSTD --format=gzip --format=zstd -f tmp
|
||||
test -f tmp.zst
|
||||
fi
|
||||
|
||||
$ECHO "\n===> xz compatibility tests "
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user