summaryrefslogtreecommitdiffstats
path: root/test/pacman/tests/sync700.py
diff options
context:
space:
mode:
authorAllan McRae <allan@archlinux.org>2013-01-20 12:36:20 +0100
committerAllan McRae <allan@archlinux.org>2013-01-28 14:38:46 +0100
commite3d8197d67336b6e59ee184762271cf64431aca6 (patch)
treee45f451c5ec0c8c9435179db686484bb7bb0a79b /test/pacman/tests/sync700.py
parent801f7d1033f74644c6d427cff9618270b2878582 (diff)
downloadpacman-e3d8197d67336b6e59ee184762271cf64431aca6.tar.gz
pacman-e3d8197d67336b6e59ee184762271cf64431aca6.tar.xz
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>
Diffstat (limited to 'test/pacman/tests/sync700.py')
-rw-r--r--test/pacman/tests/sync700.py2
1 files changed, 1 insertions, 1 deletions
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