diff options
author | Allan McRae <allan@archlinux.org> | 2013-01-20 21:36:20 +1000 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2013-01-28 23:38:46 +1000 |
commit | e3d8197d67336b6e59ee184762271cf64431aca6 (patch) | |
tree | e45f451c5ec0c8c9435179db686484bb7bb0a79b | |
parent | 801f7d1033f74644c6d427cff9618270b2878582 (diff) |
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>
-rw-r--r-- | test/pacman/tests/ldconfig001.py | 2 | ||||
-rw-r--r-- | test/pacman/tests/ldconfig002.py | 2 | ||||
-rw-r--r-- | test/pacman/tests/ldconfig003.py | 2 | ||||
-rw-r--r-- | test/pacman/tests/sync700.py | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/test/pacman/tests/ldconfig001.py b/test/pacman/tests/ldconfig001.py index a264326d..a97f28c1 100644 --- a/test/pacman/tests/ldconfig001.py +++ b/test/pacman/tests/ldconfig001.py @@ -6,4 +6,4 @@ self.addpkg(p) self.args = "-U %s" % p.filename() self.addrule("PACMAN_RETCODE=0") -self.addrule("FILE_EXIST=/etc/ld.so.cache") +self.addrule("FILE_EXIST=etc/ld.so.cache") diff --git a/test/pacman/tests/ldconfig002.py b/test/pacman/tests/ldconfig002.py index 2628dc7a..07f2ec69 100644 --- a/test/pacman/tests/ldconfig002.py +++ b/test/pacman/tests/ldconfig002.py @@ -10,4 +10,4 @@ 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") +self.addrule("FILE_EXIST=etc/ld.so.cache") diff --git a/test/pacman/tests/ldconfig003.py b/test/pacman/tests/ldconfig003.py index 8d1babb7..9b2967e2 100644 --- a/test/pacman/tests/ldconfig003.py +++ b/test/pacman/tests/ldconfig003.py @@ -6,4 +6,4 @@ self.addpkg2db("sync", sp) self.args = "-S %s" % sp.name self.addrule("PACMAN_RETCODE=0") -self.addrule("FILE_EXIST=/etc/ld.so.cache") +self.addrule("FILE_EXIST=etc/ld.so.cache") diff --git a/test/pacman/tests/sync700.py b/test/pacman/tests/sync700.py index 0002b643..9748c819 100644 --- a/test/pacman/tests/sync700.py +++ b/test/pacman/tests/sync700.py @@ -17,6 +17,6 @@ self.args = "-S pkg1" self.addrule("PACMAN_RETCODE=1") self.addrule("PKG_VERSION=pkg1|1.0-1") -self.addrule("FILE_EXIST=/lib/bar") +self.addrule("FILE_EXIST=lib/bar") self.expectfailure = True |