1 self
.description
= "do not remove directory symlink if another package has file in its path"
4 lp1
.files
= ["usr/lib/foo",
6 self
.addpkg2db("local", lp1
)
9 lp2
.files
= ["lib/bar"]
10 self
.addpkg2db("local", lp2
)
12 p
= pmpkg("pkg1", "1.0-2")
13 p
.files
= ["usr/lib/foo"]
14 self
.addpkg2db("sync", p
)
18 self
.addrule("PACMAN_RETCODE=1")
19 self
.addrule("PKG_VERSION=pkg1|1.0-1")
20 self
.addrule("FILE_EXIST=/lib/bar")
22 self
.expectfailure
= True