Rename test

dev
shakeelrao 2019-03-24 03:40:03 -07:00
parent 2b4491d81a
commit b25d7eacf2
1 changed files with 2 additions and 2 deletions

View File

@ -410,8 +410,8 @@ $ECHO "- Create first dictionary "
TESTFILE=../programs/zstdcli.c TESTFILE=../programs/zstdcli.c
$ZSTD --train *.c ../programs/*.c -o tmpDict $ZSTD --train *.c ../programs/*.c -o tmpDict
cp $TESTFILE tmp cp $TESTFILE tmp
$ECHO "- Compress dictionary with itself" $ECHO "- Test dictionary compression with tmpDict as an input file and dictionary"
$ZSTD -f tmpDict -D tmpDict | grep "cannot use" && die "expected error : cannot compress dictionary with itself" $ZSTD -f tmpDict -D tmpDict&& die "compression error not detected!"
$ECHO "- Dictionary compression roundtrip" $ECHO "- Dictionary compression roundtrip"
$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