Move important information up in -Si output
[pacman-ng.git] / test / pacman / tests / query005.py
blob06768b3cb29cbcf986f79e95010805379017e771
1 self.description = "Query info on a package (new date)"
3 p = pmpkg("foobar")
4 p.files = ["bin/foobar"]
5 p.desc = "test description"
6 p.groups = ["foo"]
7 p.url = "http://www.archlinux.org"
8 p.license = "GPL2"
9 p.arch = "i686"
10 # test new style date
11 p.builddate = "1196640127"
12 p.packager = "Arch Linux"
14 self.addpkg2db("local", p)
16 self.args = "-Qi %s" % p.name
18 self.addrule("PACMAN_RETCODE=0")
19 self.addrule("PACMAN_OUTPUT=^Name.*%s" % p.name)
20 self.addrule("PACMAN_OUTPUT=^Description.*%s" % p.desc)
21 self.addrule("PACMAN_OUTPUT=^Build Date.* 2007")