]>
Commit | Line | Data |
---|---|---|
12841e83 DK |
1 | #!/bin/sh |
2 | set -e | |
3 | ||
3abb6a6a DK |
4 | TESTDIR="$(readlink -f "$(dirname "$0")")" |
5 | . "$TESTDIR/framework" | |
12841e83 DK |
6 | setupenvironment |
7 | configarchitecture 'i386' | |
8 | ||
9 | insertpackage 'unstable' 'foobar' 'all' '1' | |
10 | ||
11 | setupaptarchive --no-update | |
12 | ||
13 | for i in $(seq 1 50); do | |
14 | touch rootdir/etc/apt/trusted.gpg.d/emptykey-${i}.gpg | |
15 | done | |
785cb6fc | 16 | testaptkeys 'Joe Sixpack' |
12841e83 | 17 | |
1df24acf | 18 | testsuccess aptget update |
12841e83 | 19 | msgtest 'Test for no gpg errors/warnings in' 'apt-get update' |
1df24acf DK |
20 | if grep -iq 'GPG' rootdir/tmp/testsuccess.output; then |
21 | cat rootdir/tmp/testsuccess.output | |
12841e83 | 22 | msgfail |
12841e83 DK |
23 | else |
24 | msgpass | |
25 | fi |