Move important information up in -Si output
[pacman-ng.git] / test / pacman / tests / type001.py
blobd55dcc11baddea9d34c8910d7690497fb1f9cd81
1 self.description = "Check the types of default files in a package"
3 p = pmpkg("pkg1")
4 p.files = ["foo/file1",
5 "foo/file2",
6 "foo/dir/",
7 "foo/symdir -> dir"]
8 self.addpkg(p)
10 self.args = "-U %s" % p.filename()
12 self.addrule("PACMAN_RETCODE=0")
13 self.addrule("FILE_TYPE=foo/|dir")
14 self.addrule("FILE_TYPE=foo/file1|file")
15 self.addrule("FILE_TYPE=foo/file2|file")
16 self.addrule("FILE_TYPE=foo/dir|dir")
17 self.addrule("FILE_TYPE=foo/symdir|link")