]> git.ipfire.org Git - thirdparty/zstd.git/commitdiff
add test case which reliably produces btlazy2 rescale overflow bug
authorYann Collet <cyan@fb.com>
Fri, 29 Dec 2017 16:40:36 +0000 (17:40 +0100)
committerYann Collet <cyan@fb.com>
Fri, 29 Dec 2017 16:40:36 +0000 (17:40 +0100)
The unsorted_mark is handled like any index,
which fails after a rescale.

tests/playTests.sh

index c93c58fe8d58814d2cac8d16cbaeec7d89fb6747..fa1efeb5908ef0095b1eb20eb5381a34938e72e5 100755 (executable)
@@ -712,6 +712,7 @@ roundTripTest -g18000018 -P94 18
 roundTripTest -g18000019 -P96 19
 
 roundTripTest -g5000000000 -P99 1
+roundTripTest -g1700000000 -P0 "1 --zstd=strategy=6"   # ensure btlazy2 can survive an overflow rescale
 
 fileRoundTripTest -g4193M -P99 1