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.
 
 
 
 
 
 

24 lines
469 B

  1. #!/bin/sh
  2. set -e
  3. TESTDIR="$(readlink -f "$(dirname "$0")")"
  4. . "$TESTDIR/framework"
  5. setupenvironment
  6. configarchitecture 'i386'
  7. insertpackage 'unstable' 'coolstuff' 'all' '1.0'
  8. setupaptarchive
  9. changetowebserver
  10. msgtest 'Test apt-get update with incorrect' 'TMPDIR'
  11. export TMPDIR=/does-not-exists
  12. testsuccess aptget update -o Debug::Acquire::gpg=1
  13. unset TMPDIR
  14. testsuccessequal 'coolstuff
  15. dpkg' aptcache pkgnames
  16. testsuccess ls rootdir/var/lib/apt/lists/*InRelease