diff options
author | Xavier Chantry <chantry.xavier@gmail.com> | 2010-10-11 01:05:04 +0200 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2010-10-11 17:06:57 +0200 |
commit | fa933df65b9e024ec3291fcc1f995be3dc000e0c (patch) | |
tree | 35854a375dc5c8bf62d13ca0758b91dba445f155 /test/pacman/util.py | |
parent | 67068b64b9da96a0122591ede25c50ab307a1612 (diff) | |
download | pacman-fa933df65b9e024ec3291fcc1f995be3dc000e0c.tar.gz pacman-fa933df65b9e024ec3291fcc1f995be3dc000e0c.tar.xz |
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 <dan@archlinux.org>
Diffstat (limited to 'test/pacman/util.py')
-rwxr-xr-x | test/pacman/util.py | 1 |
1 files changed, 1 insertions, 0 deletions
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" |