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"
6 self
.addpkg2db("local", lp
)
8 p
= pmpkg("dummy", "1.0-2")
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")