mirror of
https://github.com/moparisthebest/pacman
synced 2024-08-13 17:03:46 -04:00
e3d8197d67
The leading / makes the pactest suite look for the file in the users filesystem. This meant the ldconfig tests always passed (even when broken in pacman...). Signed-off-by: Allan McRae <allan@archlinux.org>
14 lines
315 B
Python
14 lines
315 B
Python
self.description = "Make sure ldconfig runs on an upgrade operation"
|
|
|
|
lp = pmpkg("dummy")
|
|
self.addpkg2db("local", lp)
|
|
|
|
p = pmpkg("dummy", "1.0-2")
|
|
self.addpkg(p)
|
|
|
|
self.args = "-U %s" % p.filename()
|
|
|
|
self.addrule("PACMAN_RETCODE=0")
|
|
self.addrule("PKG_VERSION=dummy|1.0-2")
|
|
self.addrule("FILE_EXIST=etc/ld.so.cache")
|