Add a few pactests for PGP integration
Signed-off-by: Dan McGee <dan@archlinux.org>
This commit is contained in:
parent
88746ec067
commit
cedc633757
|
@ -0,0 +1,9 @@
|
|||
self.description = "Add a signature to a package DB"
|
||||
|
||||
sp = pmpkg("pkg1")
|
||||
sp.pgpsig = "asdfasdfsdfasdfsdafasdfsdfasd"
|
||||
self.addpkg2db("sync", sp)
|
||||
|
||||
self.args = "-Ss"
|
||||
|
||||
self.addrule("PACMAN_RETCODE=0")
|
|
@ -0,0 +1,11 @@
|
|||
self.description = "Read a package DB with several PGP signatures"
|
||||
|
||||
for i in range(1000):
|
||||
sp = pmpkg("pkg%03d" % i)
|
||||
sp.desc = "test description for package %d" % i
|
||||
sp.pgpsig = "asdfasdfsdfasdfsdafasdfsdfasd"
|
||||
self.addpkg2db("sync", sp)
|
||||
|
||||
self.args = "-Ss"
|
||||
|
||||
self.addrule("PACMAN_RETCODE=0")
|
Loading…
Reference in New Issue