From fa933df65b9e024ec3291fcc1f995be3dc000e0c Mon Sep 17 00:00:00 2001 From: Xavier Chantry Date: Mon, 11 Oct 2010 01:05:04 +0200 Subject: pactest: fix gensync gensync generated a sync.db file with PKGINFO syntax, this is not quite what pacman expects. Also the file was only added to the Server path: root/var/pub/sync/sync.db but it was not available in the normal sync db path: root/var/lib/pacman/sync/sync.db Change gensync() to generate var/lib/pacman/sync/sync.db and then copy it to var/pub/sync/sync.db (this is used by sync200 -Sy test). Signed-off-by: Dan McGee --- test/pacman/util.py | 1 + 1 file changed, 1 insertion(+) (limited to 'test/pacman/util.py') diff --git a/test/pacman/util.py b/test/pacman/util.py index 657230ee..802f22ec 100755 --- a/test/pacman/util.py +++ b/test/pacman/util.py @@ -25,6 +25,7 @@ import stat # ALPM PM_ROOT = "/" PM_DBPATH = "var/lib/pacman" +PM_SYNCDBPATH = "var/lib/pacman/sync" PM_LOCK = "var/lib/pacman/db.lck" PM_CACHEDIR = "var/cache/pacman/pkg" PM_EXT_PKG = ".pkg.tar.gz" -- cgit v1.2.3