]> git.saurik.com Git - apt.git/blob - test/integration/test-bug-733028-gpg-resource-limit
test-apt-download-progress: Allow smaller progress change
[apt.git] / test / integration / test-bug-733028-gpg-resource-limit
1 #!/bin/sh
2 set -e
3
4 TESTDIR=$(readlink -f $(dirname $0))
5 . $TESTDIR/framework
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
16
17 aptkey list | grep '^pub' > aptkey.list
18 testfileequal ./aptkey.list 'pub 2048R/DBAC8DAE 2010-08-18'
19
20 testsuccess aptget update
21 msgtest 'Test for no gpg errors/warnings in' 'apt-get update'
22 if grep -iq 'GPG' rootdir/tmp/testsuccess.output; then
23 cat rootdir/tmp/testsuccess.output
24 msgfail
25 else
26 msgpass
27 fi