"Fossies" - the Fresh Open Source Software Archive

Member "libzip-1.6.0/regress/extra_add_multiple.test" (24 Jan 2020, 561 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 # add extra fields
    2 args testfile.zip  set_extra 0 2345 65535 cl extra1  set_extra 0 2345 65535 cl extra2  set_extra 0 2345 0 c extra1c  set_extra 0 2345 1 l extra2l  get_extra_by_id 0 2345 0 c  get_extra_by_id 0 2345 1 c  get_extra_by_id 0 2345 0 l  get_extra_by_id 0 2345 1 l
    3 return 0
    4 file testfile.zip testfile.zip testfile-plus-extra.zip
    5 stdout Extra field 0x0929: len 7, data 0x65787472613163
    6 stdout Extra field 0x0929: len 6, data 0x657874726132
    7 stdout Extra field 0x0929: len 6, data 0x657874726131
    8 stdout Extra field 0x0929: len 7, data 0x6578747261326c