summaryrefslogtreecommitdiff
path: root/test/test.d/signed-packages.sh
diff options
context:
space:
mode:
authorPierre Schmitz <pierre@archlinux.de>2012-02-19 02:21:11 +0100
committerPierre Schmitz <pierre@archlinux.de>2012-02-19 02:21:11 +0100
commit8d85e0d1617fa319701e1c18b2dfb63ee7012fe7 (patch)
tree5f0420da42009530b466b6642529eb4fbe785d2d /test/test.d/signed-packages.sh
parentfb35f77bbbf729cdf5cf054e6e82706af76fce9a (diff)
Add at least one positive signing test
Diffstat (limited to 'test/test.d/signed-packages.sh')
-rwxr-xr-xtest/test.d/signed-packages.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/test.d/signed-packages.sh b/test/test.d/signed-packages.sh
index 20ad844..03566ef 100755
--- a/test/test.d/signed-packages.sh
+++ b/test/test.d/signed-packages.sh
@@ -3,6 +3,11 @@
curdir=$(readlink -e $(dirname $0))
. "${curdir}/../lib/common.inc"
+testAddSignedPackage() {
+ releasePackage extra 'pkg-simple-a' 'i686'
+ ../db-update || fail "db-update failed!"
+}
+
testAddUnsignedPackage() {
releasePackage extra 'pkg-simple-a' 'i686'
rm "${STAGING}"/extra/*.sig