diff options
author | Pierre Schmitz <pierre@archlinux.de> | 2012-02-19 02:21:11 +0100 |
---|---|---|
committer | Pierre Schmitz <pierre@archlinux.de> | 2012-02-19 02:21:11 +0100 |
commit | 8d85e0d1617fa319701e1c18b2dfb63ee7012fe7 (patch) | |
tree | 5f0420da42009530b466b6642529eb4fbe785d2d /test | |
parent | fb35f77bbbf729cdf5cf054e6e82706af76fce9a (diff) | |
download | dbscripts-8d85e0d1617fa319701e1c18b2dfb63ee7012fe7.tar.gz dbscripts-8d85e0d1617fa319701e1c18b2dfb63ee7012fe7.tar.xz |
Add at least one positive signing test
Diffstat (limited to 'test')
-rwxr-xr-x | test/test.d/signed-packages.sh | 5 |
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 |