Move important information up in -Si output
[pacman-ng.git] / test / pacman / tests / symlink010.py
bloba1e562e1e7c406d371b8bcd309f5eb2cc0bc9501
1 self.description = "Unowned identical symlink pointing to file in package"
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 -> myprog"]
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")