1self.description = "Filesystem conflict on upgrade with symlinks" 2 3self.filesystem = ["share", "usr/lib/", "lib -> usr/lib/"] 4 5lp1 = pmpkg("foo", "1-1") 6lp1.files = ["lib/"] 7self.addpkg2db("local", lp1) 8 9sp1 = pmpkg("foo", "1-2") 10# share/ causes the file order to change upon path resolution 11sp1.files = ["lib/", "share"] 12self.addpkg2db("sync", sp1) 13 14self.args = "-S %s" % sp1.name 15 16self.addrule("PACMAN_RETCODE=1") 17self.addrule("PKG_EXIST=foo|1-1") 18