index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Dan McGee <dan@archlinux.org> | 2007-06-27 23:25:04 -0400 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2007-06-27 23:34:38 -0400 |
commit | 7daa6708d2afc710bebbb2dc30f4371f9d67120c (patch) | |
tree | 2321ad0d697ce56b4cad0e16222b3888cd31ac2f /pactest | |
parent | 7bdb904af5b664c1d6e47977f21f0e6bc3f8e3b0 (diff) |
-rwxr-xr-x | pactest/pmtest.py | 5 | ||||
-rwxr-xr-x | pactest/util.py | 2 |
diff --git a/pactest/pmtest.py b/pactest/pmtest.py index dd524211..00dd3cbc 100755 --- a/pactest/pmtest.py +++ b/pactest/pmtest.py @@ -192,13 +192,12 @@ class pmtest: cmd.append("libtool gdb --args") if pacman["valgrind"]: cmd.append("valgrind --tool=memcheck --leak-check=full --show-reachable=yes") - cmd.append("%s --config=%s --root=%s --dbpath=%s --cachedir=%s --lock=%s" \ + cmd.append("%s --config=%s --root=%s --dbpath=%s --cachedir=%s" \ % (pacman["bin"], os.path.join(self.root, PACCONF), self.root, os.path.join(self.root, PM_DBPATH), - os.path.join(self.root, PM_CACHEDIR), - os.path.join(self.root, PM_LOCK) )) + os.path.join(self.root, PM_CACHEDIR))) if not pacman["manual-confirm"]: cmd.append("--noconfirm") if pacman["debug"]: diff --git a/pactest/util.py b/pactest/util.py index 98c22a5c..d3203428 100755 --- a/pactest/util.py +++ b/pactest/util.py @@ -27,8 +27,8 @@ import stat # ALPM PM_ROOT = "/" PM_DBPATH = "var/lib/pacman" +PM_LOCK = "var/lib/pacman/db.lck" PM_CACHEDIR = "var/cache/pacman/pkg" -PM_LOCK = "var/run/pacman.lck" PM_EXT_PKG = ".pkg.tar.gz" PM_EXT_DB = ".db.tar.gz" PM_PACNEW = ".pacnew" |