Move important information up in -Si output
[pacman-ng.git] / test / pacman / tests / symlink012.py
blob6a73bbbc04ed94b5196ffb1fa3ce98b8c465cc33
1 self.description = "Unowned symlink when pointing to different file"
3 lp = pmpkg("dummy")
4 lp.files = ["usr/bin/myprog"]
5 self.addpkg2db("local", lp)
7 self.filesystem = ["usr/bin/otherprog",
8 "usr/bin/myprogsuffix -> otherprog"]
10 p = pmpkg("dummy", "1.0-2")
11 p.files = ["usr/bin/myprog",
12 "usr/bin/myprogsuffix -> myprog"]
13 self.addpkg(p)
15 self.args = "-U %s" % p.filename()
17 self.addrule("PACMAN_RETCODE=1")
18 self.addrule("PKG_VERSION=dummy|1.0-1")
19 self.addrule("FILE_EXIST=usr/bin/myprog")
20 self.addrule("LINK_EXIST=usr/bin/myprogsuffix")
21 self.addrule("FILE_EXIST=usr/bin/otherprog")
22 self.addrule("FILE_TYPE=usr/bin/myprog|file")
23 self.addrule("FILE_TYPE=usr/bin/myprogsuffix|link")
24 self.addrule("FILE_TYPE=usr/bin/otherprog|file")