summaryrefslogtreecommitdiff
path: root/test/pacman/tests/smoke004.py
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2011-03-23 02:34:51 -0500
committerDan McGee <dan@archlinux.org>2011-03-23 02:34:51 -0500
commitf7b577dc77667d8b7dc346e9754d9b203cc8068d (patch)
tree31a4505db608dac3d3aca97c8a300cb336ce69a7 /test/pacman/tests/smoke004.py
parent8584c25903d72de7489733bbbf0c3dd21bbc81ac (diff)
parentcedc63375758cf1c2a821dd5a78d960b34b44f28 (diff)
Merge branch 'gpg-libalpm-basics'
Diffstat (limited to 'test/pacman/tests/smoke004.py')
-rw-r--r--test/pacman/tests/smoke004.py11
1 files changed, 11 insertions, 0 deletions
diff --git a/test/pacman/tests/smoke004.py b/test/pacman/tests/smoke004.py
new file mode 100644
index 00000000..1f9b883d
--- /dev/null
+++ b/test/pacman/tests/smoke004.py
@@ -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")