summaryrefslogtreecommitdiff
path: root/test/pacman/tests/sign002.py
blob: 7b098c0dcedf8bbb6db819325cea31d18f3760dd (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", sp)

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

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