From: Yann Collet Date: Thu, 25 Aug 2016 17:09:21 +0000 (+0200) Subject: fixed test on CentOS7 X-Git-Tag: v1.0.0^2~31 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=94376acfb0e16fc74ace873e5104a5d68e07b9e0;p=thirdparty%2Fzstd.git fixed test on CentOS7 --- diff --git a/NEWS b/NEWS index 70429644d..6c83c9cd8 100644 --- a/NEWS +++ b/NEWS @@ -1,6 +1,8 @@ v0.8.2 -API : ZDICT_getDictID() 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 New streaming API diff --git a/tests/playTests.sh b/tests/playTests.sh index a1893cd9b..2f9bf0451 100755 --- a/tests/playTests.sh +++ b/tests/playTests.sh @@ -196,10 +196,14 @@ mkdir dirTestDict cp *.c dirTestDict cp ../programs/*.c dirTestDict cp ../programs/*.h dirTestDict -cat dirTestDict/* | $MD5SUM > tmph1 # note : we expect same file order to generate same hash -$ZSTD -f dirTestDict/* -D tmpDictC -$ZSTD -d dirTestDict/*.zst -D tmpDictC -c | $MD5SUM > tmph2 -diff -q tmph1 tmph2 +$MD5SUM dirTestDict/* > tmph1 +$ZSTD -f --rm dirTestDict/* -D tmpDictC +$ZSTD -d --rm dirTestDict/*.zst -D tmpDictC # note : use internal checksum +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 tmp*