Move important information up in -Si output
[pacman-ng.git] / test / pacman / tests / dummy001.py
blob85a5d99c63955825d3b16b251408902ea466a5c7
1 self.description = "Dummy test case (modify for own use)"
3 p1 = pmpkg("dummy")
4 p1.files = ["etc/dummy.conf*",
5 "lib/libdummy.so.0",
6 "lib/libdummy.so -> ./libdummy.so.0",
7 "usr/",
8 "bin/dummy"]
9 p1.backup = ["etc/dummy.conf*"]
10 p1.install['post_install'] = "echo toto";
11 p1.url="ze url"
12 self.addpkg(p1)
14 #p2 = pmpkg("dummy", "1.0-2")
15 #p2.files = ["etc/dummy.conf**"]
16 #p2.backup = ["etc/dummy.conf"]
17 #self.addpkg(p2)
19 self.args = "-U %s" % p1.filename()
21 self.addrule("PACMAN_RETCODE=0")