OVMS3/OVMS.V3/components/zip/libzip/regress/add_from_zip_closed.test

6 lines
317 B
Plaintext

# add deflated file from zip to zip, but close the source before it can be read
return 1
args -- testfile.zip add_from_zip abac-repeat.txt testdeflated.zzip 0 0 -1 zin_close 0
file testdeflated.zzip testdeflated.zip testdeflated.zip
stderr can't close zip archive 'testfile.zip': Containing zip archive was closed