]> git.ipfire.org Git - thirdparty/zstd.git/commitdiff
Rename test
authorshakeelrao <shakeelrao79@gmail.com>
Sun, 24 Mar 2019 10:40:03 +0000 (03:40 -0700)
committershakeelrao <shakeelrao79@gmail.com>
Sun, 24 Mar 2019 10:40:03 +0000 (03:40 -0700)
tests/playTests.sh

index 137f1a441706cf529ba8df072fe1644cfcc7b635..f50bc903076a6e81af40ccdc643cd1aa837af7f8 100755 (executable)
@@ -410,8 +410,8 @@ $ECHO "- Create first dictionary "
 TESTFILE=../programs/zstdcli.c
 $ZSTD --train *.c ../programs/*.c -o tmpDict
 cp $TESTFILE tmp
-$ECHO "- Compress dictionary with itself"
-$ZSTD -f tmpDict -D tmpDict | grep "cannot use" && die "expected error : cannot compress dictionary with itself"
+$ECHO "- Test dictionary compression with tmpDict as an input file and dictionary"
+$ZSTD -f tmpDict -D tmpDict&& die "compression error not detected!"
 $ECHO "- Dictionary compression roundtrip"
 $ZSTD -f tmp -D tmpDict
 $ZSTD -d tmp.zst -D tmpDict -fo result