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

14 lines
875 B
Text

# set extra field
args -- encrypt get_extra 0 0 c get_extra 0 1 c get_extra 0 0 l get_extra 0 1 l set_extra 0 2345 -1 l extrafieldcontent set_extra 0 2345 -1 c extrafieldcontent get_extra 0 0 c get_extra 0 1 c get_extra 0 2 c get_extra 0 0 l get_extra 0 1 l get_extra 0 2 l
file encrypt encrypt.zip encrypt_plus_extra.zip
return 0
stdout Extra field 0x5455: len 5, data 0x033dda4c44
stdout Extra field 0x7855: len 0
stdout Extra field 0x5455: len 9, data 0x033dda4c444dda4c44
stdout Extra field 0x7855: len 4, data 0x64001400
stdout Extra field 0x5455: len 5, data 0x033dda4c44
stdout Extra field 0x7855: len 0
stdout Extra field 0x0929: len 17, data 0x65787472616669656c64636f6e74656e74
stdout Extra field 0x5455: len 9, data 0x033dda4c444dda4c44
stdout Extra field 0x7855: len 4, data 0x64001400
stdout Extra field 0x0929: len 17, data 0x65787472616669656c64636f6e74656e74