added tests with null files, changed condition to check that the file is more than 0 bytes

This commit is contained in:
Paul Cruz
2017-06-20 14:33:08 -07:00
parent 58c19b4202
commit a73c2a444a
2 changed files with 9 additions and 1 deletions
+8
View File
@@ -564,6 +564,14 @@ $ECHO "\n**** zstd --list/-l error detection tests ****"
! $ZSTD -lv tmp1*
! $ZSTD --list -v tmp2 tmp23.zst
$ECHO "\n**** zstd --list/-l test with null files ****"
./datagen -g0 > tmp5
$ZSTD tmp5
! $ZSTD -l tmp5*
! $ZSTD -lv tmp5*
! $ZSTD --list tmp5*
! $ZSTD --list -v tmp5*
rm tmp*
if [ "$1" != "--test-large-data" ]; then