Move important information up in -Si output
[pacman-ng.git] / test / pacman / tests / remove047.py
blob8bb1a63aae8bbf3dea1b04053d5735a65ed7718c
1 self.description = "Remove a package required by other packages"
3 lp1 = pmpkg("pkg1")
4 self.addpkg2db("local", lp1)
6 lp2 = pmpkg("pkg2")
7 lp2.depends = ["pkg1"]
8 self.addpkg2db("local", lp2)
10 lp3 = pmpkg("pkg3")
11 lp3.depends = ["pkg1"]
12 self.addpkg2db("local", lp3)
14 lp4 = pmpkg("pkg4")
15 lp4.depends = ["pkg1"]
16 self.addpkg2db("local", lp4)
18 self.args = "-R pkg1 pkg2"
20 self.addrule("!PACMAN_RETCODE=0")
21 self.addrule("PKG_EXIST=pkg1")
22 self.addrule("PKG_EXIST=pkg2")
23 self.addrule("PKG_EXIST=pkg3")
24 self.addrule("PKG_EXIST=pkg4")