summaryrefslogtreecommitdiff
path: root/test/pacman/tests/sign001.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/pacman/tests/sign001.py')
-rw-r--r--test/pacman/tests/sign001.py9
1 files changed, 9 insertions, 0 deletions
diff --git a/test/pacman/tests/sign001.py b/test/pacman/tests/sign001.py
new file mode 100644
index 00000000..447cea1e
--- /dev/null
+++ b/test/pacman/tests/sign001.py
@@ -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")