]> git.ipfire.org Git - thirdparty/zstd.git/commitdiff
fixed test on CentOS7
authorYann Collet <cyan@fb.com>
Thu, 25 Aug 2016 17:09:21 +0000 (19:09 +0200)
committerYann Collet <cyan@fb.com>
Thu, 25 Aug 2016 17:09:21 +0000 (19:09 +0200)
NEWS
tests/playTests.sh

diff --git a/NEWS b/NEWS
index 70429644d6d28a21858fccfb668c1a48fce70eac..6c83c9cd8507aa1d7c3ddf588ed91ade7d8a1657 100644 (file)
--- 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
index a1893cd9b865116455470ee4c96b4875ca8b0c42..2f9bf04515153d218f7e486a34939c18ddf705e1 100755 (executable)
@@ -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*