index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Andrew Gregory <andrew.gregory.8@gmail.com> | 2014-10-23 02:54:50 -0400 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2014-11-04 20:11:18 +1000 |
commit | 8cd41ec62bb081c8cdedafab2a96166d861939b5 (patch) | |
tree | b96297cafbfffa7e445111206113c0fe621d00d9 /test/scripts/pacman-db-upgrade-v9.py | |
parent | 4114e25df15a3f98bdd6f2d8e86996f1f8f04100 (diff) |
-rw-r--r-- | test/scripts/pacman-db-upgrade-v9.py | 6 |
diff --git a/test/scripts/pacman-db-upgrade-v9.py b/test/scripts/pacman-db-upgrade-v9.py index dc6f97d6..a54319ff 100644 --- a/test/scripts/pacman-db-upgrade-v9.py +++ b/test/scripts/pacman-db-upgrade-v9.py @@ -9,9 +9,13 @@ fpkg.backup = ["mnt/foo"] self.addpkg2db("local", fpkg) self.dbver = 8 -self.cmd = ["pacman-db-upgrade", "--root", self.root + "/"] +self.cmd = ["pacman-db-upgrade", + "--root", self.rootdir(), + "--dbpath", self.dbdir(), + "--config", self.configfile() ] self.addrule("PACMAN_RETCODE=0") +self.addrule("FILE_EXIST=var/lib/pacman/local/ALPM_DB_VERSION") self.addrule("PKG_BACKUP=filesystem|mnt_real/subdir/foo") self.addrule("PKG_FILES=filesystem|mnt_real/") self.addrule("PKG_FILES=filesystem|mnt_real/subdir/") |