pactest: Rename epoch pactests
[pacman-ng.git] / test / pacman / tests / ldconfig002.py
blob162f58317dfbb8de3f946638016570eb4a882328
1 # quick note here - chroot() is expected to fail. We're not checking the
2 # validity of the scripts, only that they fire (or try to)
3 self.description = "Make sure ldconfig runs on an upgrade operation"
5 lp = pmpkg("dummy")
6 self.addpkg2db("local", lp)
8 p = pmpkg("dummy", "1.0-2")
9 self.addpkg(p)
11 # --debug is necessary to check PACMAN_OUTPUT
12 self.args = "--debug -U %s" % p.filename()
14 self.addrule("PACMAN_RETCODE=0")
15 self.addrule("PKG_VERSION=dummy|1.0-2")
16 self.addrule("PACMAN_OUTPUT=ldconfig")