From 94376acfb0e16fc74ace873e5104a5d68e07b9e0 Mon Sep 17 00:00:00 2001 From: Yann Collet Date: Thu, 25 Aug 2016 19:09:21 +0200 Subject: [PATCH] fixed test on CentOS7 --- NEWS | 4 +++- tests/playTests.sh | 12 ++++++++---- 2 files changed, 11 insertions(+), 5 deletions(-) diff --git a/NEWS b/NEWS index 70429644..6c83c9cd 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 a1893cd9..2f9bf045 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*