Move important information up in -Si output
[pacman-ng.git] / test / pacman / tests / clean001.py
blobad86250a344d9c37c4e25c21a33b15afce631c8f
1 self.description = "CleanMethod = KeepInstalled"
3 sp = pmpkg("dummy", "2.0-1")
4 self.addpkg2db("sync", sp)
6 sp = pmpkg("bar", "2.0-1")
7 self.addpkg2db("sync", sp)
9 sp = pmpkg("baz", "2.0-1")
10 self.addpkg2db("sync", sp)
12 lp = pmpkg("dummy", "1.0-1")
13 self.addpkg2db("local", lp)
15 lp = pmpkg("bar", "2.0-1")
16 self.addpkg2db("local", lp)
18 self.args = "-Sc"
19 self.option['CleanMethod'] = ['KeepInstalled']
20 self.createlocalpkgs = True
22 self.addrule("PACMAN_RETCODE=0")
23 self.addrule("!CACHE_EXISTS=dummy|2.0-1")
24 self.addrule("CACHE_EXISTS=dummy|1.0-1")
25 self.addrule("CACHE_EXISTS=bar|2.0-1")
26 self.addrule("!CACHE_EXISTS=baz|2.0-1")