Move important information up in -Si output
[pacman-ng.git] / test / pacman / tests / symlink001.py
blobcbf71cccbbb94d192a8ddb6ab4561c708e2deef0
1 self.description = "Dir symlinks overwritten on install (the perl/git bug)"
3 lp = pmpkg("dummy")
4 lp.files = ["dir/realdir/",
5 "dir/symdir -> realdir"]
6 self.addpkg2db("local", lp)
8 p = pmpkg("pkg1")
9 p.files = ["dir/symdir/tmp"]
10 self.addpkg(p)
12 self.args = "-U %s" % p.filename()
14 self.addrule("PACMAN_RETCODE=0")
15 self.addrule("PKG_EXIST=pkg1")
16 self.addrule("FILE_EXIST=dir/symdir/tmp")
17 self.addrule("FILE_EXIST=dir/realdir/tmp")
18 self.addrule("FILE_TYPE=dir/symdir/tmp|file")
19 self.addrule("FILE_TYPE=dir/symdir|link")
20 self.addrule("FILE_TYPE=dir/realdir|dir")