Move important information up in -Si output
[pacman-ng.git] / test / pacman / tests / fileconflict010.py
blob0a3ce8357e05cb6ec89f6702151a22b916a12068
1 self.description = "dir->file change during package upgrade (directory conflict)"
3 lp1 = pmpkg("pkg1")
4 lp1.files = ["dir/"]
5 self.addpkg2db("local", lp1)
7 lp2 = pmpkg("pkg2")
8 lp2.files = ["dir/"]
9 self.addpkg2db("local", lp2)
11 p = pmpkg("pkg1", "1.0-2")
12 p.files = ["dir"]
13 self.addpkg2db("sync", p)
15 self.args = "-S pkg1"
17 self.addrule("PACMAN_RETCODE=1")
18 self.addrule("PKG_VERSION=pkg1|1.0-1")
19 self.addrule("PKG_VERSION=pkg2|1.0-1")
20 self.addrule("DIR_EXIST=dir/")