mirror of
https://github.com/facebook/zstd.git
synced 2025-10-09 00:05:28 -04:00
fixed test on CentOS7
This commit is contained in:
parent
baf7ecbdfd
commit
94376acfb0
4
NEWS
4
NEWS
@ -1,6 +1,8 @@
|
|||||||
v0.8.2
|
v0.8.2
|
||||||
API : ZDICT_getDictID()
|
|
||||||
Small decompression speed improvement
|
Small decompression speed improvement
|
||||||
|
API : ZDICT_getDictID(), ZSTD_sizeof_{CCtx, DCtx, CStream, DStream}()
|
||||||
|
Enhanced documentation, by Przemyslaw Skibinski
|
||||||
|
Fixed : compression fails on specific huge files, bug introduced in v0.8.1, reported by Jesse McGrew
|
||||||
|
|
||||||
v0.8.1
|
v0.8.1
|
||||||
New streaming API
|
New streaming API
|
||||||
|
@ -196,10 +196,14 @@ mkdir dirTestDict
|
|||||||
cp *.c dirTestDict
|
cp *.c dirTestDict
|
||||||
cp ../programs/*.c dirTestDict
|
cp ../programs/*.c dirTestDict
|
||||||
cp ../programs/*.h dirTestDict
|
cp ../programs/*.h dirTestDict
|
||||||
cat dirTestDict/* | $MD5SUM > tmph1 # note : we expect same file order to generate same hash
|
$MD5SUM dirTestDict/* > tmph1
|
||||||
$ZSTD -f dirTestDict/* -D tmpDictC
|
$ZSTD -f --rm dirTestDict/* -D tmpDictC
|
||||||
$ZSTD -d dirTestDict/*.zst -D tmpDictC -c | $MD5SUM > tmph2
|
$ZSTD -d --rm dirTestDict/*.zst -D tmpDictC # note : use internal checksum
|
||||||
diff -q tmph1 tmph2
|
if [[ "$OSTYPE" == "darwin"* ]]; then
|
||||||
|
$ECHO "test skipped on OS-X" # not compatible with OS-X's md5
|
||||||
|
else
|
||||||
|
$MD5SUM -c tmph1
|
||||||
|
fi
|
||||||
rm -rf dirTestDict
|
rm -rf dirTestDict
|
||||||
rm tmp*
|
rm tmp*
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user