File: get_comment.test

package info (click to toggle)
libzip 0.10.1-1.1
  • links: PTS
  • area: main
  • in suites: wheezy
  • size: 8,496 kB
  • sloc: sh: 10,520; ansic: 5,689; makefile: 271
file content (15 lines) | stat: -rw-r--r-- 431 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# show comments of a zip archive
program get_comment
return 0
args testcomment.zip
file testcomment.zip testcomment.zip testcomment.zip
stdout Archive comment: This is the archive comment for the file.
stdout 
stdout Long.
stdout 
stdout Longer.
stdout 
stdout No comment for `file1'
stdout File comment for `file2': First one had no comment.
stdout File comment for `file3': Third one.
stdout File comment for `file4': Last.