added a check to ensure 0-size is present in frame header

This commit is contained in:
Yann Collet 2017-10-17 16:23:20 -07:00
parent 18b795374a
commit 5891f1d952

View File

@ -621,7 +621,7 @@ $ECHO "\n===> zstd --list/-l test with null files "
$ZSTD tmp5
$ZSTD -l tmp5.zst
! $ZSTD -l tmp5*
$ZSTD -lv tmp5.zst
$ZSTD -lv tmp5.zst | grep "Decompressed Size: 0.00 KB (0 B)" # check that 0 size is present in header
! $ZSTD -lv tmp5*
$ECHO "\n===> zstd --list/-l test with no content size field "