summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorAllan McRae <allan@archlinux.org>2013-07-16 21:51:16 +1000
committerAllan McRae <allan@archlinux.org>2014-09-23 21:43:05 +1000
commitd02efd2f204cfdd99d6e161b1ce9d4478b08b8e2 (patch)
treeda7c24edecabcea50f3ed6e3fef3b9ce9ca82552 /test
parent1660ed3cf9069f84d96670b5443a9f1542b7865d (diff)
downloadpacman-d02efd2f204cfdd99d6e161b1ce9d4478b08b8e2.tar.xz
Check the version of the local database during validation
When we check the database version directly, there is no longer a need to scan for depends files. Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'test')
-rw-r--r--test/pacman/pmtest.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/pacman/pmtest.py b/test/pacman/pmtest.py
index 75a28d27..09baac7a 100644
--- a/test/pacman/pmtest.py
+++ b/test/pacman/pmtest.py
@@ -182,7 +182,7 @@ class pmtest(object):
pkg.install_package(self.root)
if self.db["local"].pkgs:
path = os.path.join(self.root, util.PM_DBPATH, "local")
- util.mkfile(path, ".alpm_db_version", "9")
+ util.mkfile(path, "ALPM_DB_VERSION", "9")
# Done.
vprint(" Taking a snapshot of the file system")