"Fossies" - the Fresh Open Source Software Archive

Member "libzip-1.6.0/regress/extra_set_modify_c.test" (24 Jan 2020, 1067 Bytes) of package /linux/misc/libzip-1.6.0.tar.xz:


As a special service "Fossies" has tried to format the requested text file into HTML format (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 # change existing central extra field
    2 args encrypt.zip 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 set_extra 0 2345 0 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
    3 file encrypt.zip encrypt_plus_extra.zip encrypt_plus_extra_modified_c.zip
    4 return 0
    5 stdout Extra field 0x5455: len 5, data 0x033dda4c44
    6 stdout Extra field 0x7855: len 0
    7 stdout Extra field 0x0929: len 17, data 0x65787472616669656c64636f6e74656e74
    8 stdout Extra field 0x0929: len 17, data 0x65787472616669656c64636f6e74656e74
    9 stdout Extra field 0x5455: len 9, data 0x033dda4c444dda4c44
   10 stdout Extra field 0x7855: len 4, data 0x64001400
   11 stdout Extra field 0x5455: len 5, data 0x033dda4c44
   12 stdout Extra field 0x7855: len 0
   13 stdout Extra field 0x0929: len 17, data 0x45787472616669656c64636f6e74656e74
   14 stdout Extra field 0x0929: len 17, data 0x65787472616669656c64636f6e74656e74
   15 stdout Extra field 0x5455: len 9, data 0x033dda4c444dda4c44
   16 stdout Extra field 0x7855: len 4, data 0x64001400