summaryrefslogtreecommitdiff
path: root/test/pacman/tests/sign002.py
blob: 58c444125eea39d61e9526f470782420edd5461b (plain)
1
2
3
4
5
6
7
8
9
10
self.description = "Verify a signature in a sync DB (failure)"

sp = pmpkg("pkg1")
sp.pgpsig = "iEYEABECAAYFAkhMOggACgkQXC5GoPU6du2WVQCffVxF8GKXJIY4juJBIw/ljLrQxygAnj2QlvsUd7MdFekLX18+Ov/xzgZ1"
self.addpkg2db("sync+Required", sp)

self.args = "-S %s" % sp.name

self.addrule("PACMAN_RETCODE=1")
self.addrule("!PKG_EXIST=pkg1")