mirror of
https://github.com/facebook/zstd.git
synced 2025-10-08 00:04:02 -04:00
parent
e9dc0ab884
commit
98ccc115ed
@ -297,6 +297,8 @@ cp $TESTFILE tmp
|
|||||||
$ZSTD -f tmp -D tmpDict
|
$ZSTD -f tmp -D tmpDict
|
||||||
$ZSTD -d tmp.zst -D tmpDict -fo result
|
$ZSTD -d tmp.zst -D tmpDict -fo result
|
||||||
$DIFF $TESTFILE result
|
$DIFF $TESTFILE result
|
||||||
|
$ECHO "- Test dictionary compression with multithreading "
|
||||||
|
./datagen -g5M | $ZSTD -T2 -D tmpDict | $ZSTD -t -D tmpDict # fails with v1.3.2
|
||||||
$ECHO "- Create second (different) dictionary "
|
$ECHO "- Create second (different) dictionary "
|
||||||
$ZSTD --train *.c ../programs/*.c ../programs/*.h -o tmpDictC
|
$ZSTD --train *.c ../programs/*.c ../programs/*.h -o tmpDictC
|
||||||
$ZSTD -d tmp.zst -D tmpDictC -fo result && die "wrong dictionary not detected!"
|
$ZSTD -d tmp.zst -D tmpDictC -fo result && die "wrong dictionary not detected!"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user