blob: e9bbb809bcb6cde895e11c3ce3cd13e2a5c43906 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
#!/bin/sh
set -e
TESTDIR="$(readlink -f "$(dirname "$0")")"
. "$TESTDIR/framework"
setupenvironment
configarchitecture 'amd64'
insertpackage 'unstable' 'foo' 'all' '1'
buildaptarchive
setupdistsaptarchive
for RELEASE in $(find aptarchive -name 'Release'); do
# note the missing --armor
if command sq --cli-version 0.40 version 2>/dev/null; then
sq sign --binary --signer-file "keys/joesixpack.sec" --output "${RELEASE}.gpg" --signature-file "${RELEASE}"
else
sq sign --binary --signer-file "keys/joesixpack.sec" --signature-file "${RELEASE}.gpg" "${RELEASE}"
fi
done
testfailure apt show foo
testfailure aptget update
testfailure apt show foo
|