"Fossies" - the Fresh Open Source Software Archive

Member "libzip-1.6.0/regress/extra_set.test" (24 Jan 2020, 875 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 # set extra field
    2 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
    3 file encrypt encrypt.zip encrypt_plus_extra.zip
    4 return 0
    5 stdout Extra field 0x5455: len 5, data 0x033dda4c44
    6 stdout Extra field 0x7855: len 0
    7 stdout Extra field 0x5455: len 9, data 0x033dda4c444dda4c44
    8 stdout Extra field 0x7855: len 4, data 0x64001400
    9 stdout Extra field 0x5455: len 5, data 0x033dda4c44
   10 stdout Extra field 0x7855: len 0
   11 stdout Extra field 0x0929: len 17, data 0x65787472616669656c64636f6e74656e74
   12 stdout Extra field 0x5455: len 9, data 0x033dda4c444dda4c44
   13 stdout Extra field 0x7855: len 4, data 0x64001400
   14 stdout Extra field 0x0929: len 17, data 0x65787472616669656c64636f6e74656e74