You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

26 lines
519 B

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