From: 15596858998 Date: Sun, 21 Nov 2021 04:35:58 +0000 (+0800) Subject: 更新 playTests.sh X-Git-Tag: v1.5.1~1^2~43^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7ce6f71c6f954dee08ee4217ace4fb1b5de90806;p=thirdparty%2Fzstd.git 更新 playTests.sh --- diff --git a/tests/playTests.sh b/tests/playTests.sh index 69653276a..4face06dd 100755 --- a/tests/playTests.sh +++ b/tests/playTests.sh @@ -713,6 +713,10 @@ test -f tmp2 test -f tmp3 test -f tmp4 +println "test : survive the list of files with too long filenames (--filelist=FILE)" +datagen -g51M > tmp_badList +zstd -f --filelist=tmp_badList && die "should have failed : file name length is too long" + println "test : survive a list of files which is text garbage (--filelist=FILE)" datagen > tmp_badList zstd -f --filelist=tmp_badList && die "should have failed : list is text garbage"