diff options
author | Julian Andres Klode <julian.klode@canonical.com> | 2019-03-08 17:12:15 +0100 |
---|---|---|
committer | Julian Andres Klode <julian.klode@canonical.com> | 2019-03-08 17:12:15 +0100 |
commit | f541aec06bce1ccac98dabe61137b56ed563e0e9 (patch) | |
tree | e3dabf361815d78e1a116f6c3a7ee02dc441ba44 /test | |
parent | 3b13b8a0b79d625d2913518529a34e92b4f41539 (diff) | |
parent | 19c37a01bccca11fe2bfa957087706c27441ef34 (diff) |
Merge tag '1.8.0'
apt Debian release 1.8.0
Diffstat (limited to 'test')
-rwxr-xr-x | test/integration/test-bug-921685-binary-detached-signature | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/test/integration/test-bug-921685-binary-detached-signature b/test/integration/test-bug-921685-binary-detached-signature new file mode 100755 index 000000000..df863197a --- /dev/null +++ b/test/integration/test-bug-921685-binary-detached-signature @@ -0,0 +1,22 @@ +#!/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 + dosigning "keys/joesixpack" --detach-sign --sign --output "${RELEASE}.gpg" "${RELEASE}" +done + +testfailure apt show foo +testfailure aptget update +testsuccess grep 'W: .* Detached signature file .* is in unsupported binary format' rootdir/tmp/testfailure.output +testfailure apt show foo |