1 self
.description
= "Fileconflict with symlinks"
4 lp
.files
= ["dir/realdir/",
5 "dir/realdir/realfile",
6 "dir/symdir -> realdir"]
7 self
.addpkg2db("local", lp
)
10 p1
.files
= ["dir/realdir/file"]
14 p2
.files
= ["dir/symdir/file"]
17 self
.args
= "-U %s" % " ".join([p
.filename() for p
in p1
, p2
])
19 self
.addrule("PACMAN_RETCODE=1")
20 self
.addrule("!PKG_EXIST=pkg1")
21 self
.addrule("!PKG_EXIST=pkg2")
22 self
.addrule("FILE_EXIST=dir/realdir/realfile")
23 self
.addrule("!FILE_EXIST=dir/realdir/file")
25 self
.expectfailure
= True