summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/pacman/pmtest.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/pacman/pmtest.py b/test/pacman/pmtest.py
index 78b9e2d1..75a28d27 100644
--- a/test/pacman/pmtest.py
+++ b/test/pacman/pmtest.py
@@ -180,6 +180,9 @@ class pmtest(object):
for pkg in self.db["local"].pkgs:
vprint("\tinstalling %s" % pkg.fullname())
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")
# Done.
vprint(" Taking a snapshot of the file system")