blob: 5d6f4ff7f413c8e24acaa5f88bc48d5ac9fd3b1b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
#!/bin/bash
curdir=$(readlink -e $(dirname $0))
. "${curdir}/../lib/common.inc"
testAddUnsignedPackage() {
releasePackage extra 'pkg-simple-a' 'i686'
# remove any signature
rm "${STAGING}"/extra/*.sig
../db-update >/dev/null 2>&1 && fail "db-update should fail when a signature is missing!"
}
. "${curdir}/../lib/shunit2"
|