Intial commit to address 3090. Added support to decompress empty block. (#3118)
* Intial commit to address 3090. Added support to decompress empty block * Update zstd_decompress_block.c Addressed review comments for the case of 'set_basic' * Update lib/decompress/zstd_decompress_block.c Co-authored-by: Nick Terrell <nickrterrell@gmail.com> * Update lib/decompress/zstd_decompress_block.c Co-authored-by: Nick Terrell <nickrterrell@gmail.com> Co-authored-by: Nick Terrell <nickrterrell@gmail.com>
This commit is contained in:
co-authored by
Nick Terrell
parent
02ef78be58
commit
43f21a600e
+4
-1
@@ -418,8 +418,11 @@ println "\n===> decompression only tests "
|
||||
dd bs=1048576 count=1 if=/dev/zero of=tmp
|
||||
zstd -d -o tmp1 "$TESTDIR/golden-decompression/rle-first-block.zst"
|
||||
$DIFF -s tmp1 tmp
|
||||
rm -f tmp*
|
||||
|
||||
touch tmp_empty
|
||||
zstd -d -o tmp2 "$TESTDIR/golden-decompression/empty-block.zst"
|
||||
$DIFF -s tmp2 tmp_empty
|
||||
rm -f tmp*
|
||||
|
||||
println "\n===> compress multiple files"
|
||||
println hello > tmp1
|
||||
|
||||
Reference in New Issue
Block a user