pactest: use actual regexes in OUTPUT rules
[pacman-ng.git] / test / pacman / tests / ldconfig001.py
blobaa029ba5c8881dd032603d40afbe54edc9947baa
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 add operation"
5 p = pmpkg("dummy")
6 self.addpkg(p)
8 # --debug is necessary to check PACMAN_OUTPUT
9 self.args = "--debug -U %s" % p.filename()
11 self.addrule("PACMAN_RETCODE=0")
12 self.addrule("PACMAN_OUTPUT=running ldconfig")