Remove leading / for pactest paths
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>
This commit is contained in:
parent
801f7d1033
commit
e3d8197d67
4 changed files with 4 additions and 4 deletions
|
@ -6,4 +6,4 @@ self.addpkg(p)
|
||||||
self.args = "-U %s" % p.filename()
|
self.args = "-U %s" % p.filename()
|
||||||
|
|
||||||
self.addrule("PACMAN_RETCODE=0")
|
self.addrule("PACMAN_RETCODE=0")
|
||||||
self.addrule("FILE_EXIST=/etc/ld.so.cache")
|
self.addrule("FILE_EXIST=etc/ld.so.cache")
|
||||||
|
|
|
@ -10,4 +10,4 @@ self.args = "-U %s" % p.filename()
|
||||||
|
|
||||||
self.addrule("PACMAN_RETCODE=0")
|
self.addrule("PACMAN_RETCODE=0")
|
||||||
self.addrule("PKG_VERSION=dummy|1.0-2")
|
self.addrule("PKG_VERSION=dummy|1.0-2")
|
||||||
self.addrule("FILE_EXIST=/etc/ld.so.cache")
|
self.addrule("FILE_EXIST=etc/ld.so.cache")
|
||||||
|
|
|
@ -6,4 +6,4 @@ self.addpkg2db("sync", sp)
|
||||||
self.args = "-S %s" % sp.name
|
self.args = "-S %s" % sp.name
|
||||||
|
|
||||||
self.addrule("PACMAN_RETCODE=0")
|
self.addrule("PACMAN_RETCODE=0")
|
||||||
self.addrule("FILE_EXIST=/etc/ld.so.cache")
|
self.addrule("FILE_EXIST=etc/ld.so.cache")
|
||||||
|
|
|
@ -17,6 +17,6 @@ self.args = "-S pkg1"
|
||||||
|
|
||||||
self.addrule("PACMAN_RETCODE=1")
|
self.addrule("PACMAN_RETCODE=1")
|
||||||
self.addrule("PKG_VERSION=pkg1|1.0-1")
|
self.addrule("PKG_VERSION=pkg1|1.0-1")
|
||||||
self.addrule("FILE_EXIST=/lib/bar")
|
self.addrule("FILE_EXIST=lib/bar")
|
||||||
|
|
||||||
self.expectfailure = True
|
self.expectfailure = True
|
||||||
|
|
Loading…
Add table
Reference in a new issue