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

7 lines
277 B
Plaintext

# add already existing file to zip, making duplicate names
return 1
args -- testfile.zip add_file testfile.txt testfile.txt 0 -1
file testfile.txt testfile.txt testfile.txt
file testfile.zip testfile.zip testfile.zip
stderr can't add file 'testfile.txt': File already exists