2007-04-16 20:34:57 -05:00
|
|
|
# quick note here - chroot() is expected to fail. We're not checking the
|
|
|
|
# validity of the scripts, only that they fire (or try to)
|
|
|
|
self.description = "Make sure ldconfig runs on an add operation"
|
|
|
|
|
|
|
|
p = pmpkg("dummy")
|
|
|
|
self.addpkg(p)
|
|
|
|
|
|
|
|
# --debug is necessary to check PACMAN_OUTPUT
|
2008-03-08 14:04:06 -06:00
|
|
|
self.args = "--debug -U %s" % p.filename()
|
2007-04-16 20:34:57 -05:00
|
|
|
|
|
|
|
self.addrule("PACMAN_RETCODE=0")
|
|
|
|
self.addrule("PACMAN_OUTPUT=ldconfig")
|