Modified Tests
Changed format as per suggestion and added second test
This commit is contained in:
+9
-2
@@ -488,8 +488,9 @@ $ZSTD -rqi1b1e2 tmp1
|
|||||||
$ECHO "\n===> zstd compatibility tests "
|
$ECHO "\n===> zstd compatibility tests "
|
||||||
|
|
||||||
./datagen > tmp
|
./datagen > tmp
|
||||||
$ZSTD --format=zstd tmp 2> tmplog
|
rm -f tmp.zst
|
||||||
grep "zst" tmplog > $INTOVOID || die "--format=zstd not supported"
|
$ZSTD --format=zstd -f tmp
|
||||||
|
test -f tmp.zst
|
||||||
|
|
||||||
$ECHO "\n===> gzip compatibility tests "
|
$ECHO "\n===> gzip compatibility tests "
|
||||||
|
|
||||||
@@ -527,6 +528,12 @@ else
|
|||||||
$ECHO "gzip mode not supported"
|
$ECHO "gzip mode not supported"
|
||||||
fi
|
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 "
|
$ECHO "\n===> xz compatibility tests "
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user