"Fossies" - the Fresh Open Source Software Archive

Member "libzip-1.5.2/regress/get_comment.test" (12 Mar 2019, 517 Bytes) of package /linux/misc/libzip-1.5.2.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 # show comments of a zip archive
    2 return 0
    3 args testcomment.zip   get_archive_comment   get_file_comment 0   get_file_comment 1   get_file_comment 2   get_file_comment 3
    4 file testcomment.zip testcomment.zip testcomment.zip
    5 stdout Archive comment: This is the archive comment for the file.
    6 stdout 
    7 stdout Long.
    8 stdout 
    9 stdout Longer.
   10 stdout 
   11 stdout No comment for 'file1'
   12 stdout File comment for 'file2': First one had no comment.
   13 stdout File comment for 'file3': Third one.
   14 stdout File comment for 'file4': Last.