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
577 B

  1. #!/bin/sh
  2. set -e
  3. TESTDIR=$(readlink -f $(dirname $0))
  4. . $TESTDIR/framework
  5. setupenvironment
  6. configarchitecture 'amd64'
  7. buildsimplenativepackage 'apt' 'all' '1.0' 'stable'
  8. setupaptarchive
  9. changetowebserver
  10. rm -rf rootdir/var/lib/apt/lists
  11. aptget update -qq
  12. testequal 'Hit http://localhost stable InRelease
  13. Hit http://localhost stable/main Sources
  14. Hit http://localhost stable/main amd64 Packages
  15. Hit http://localhost stable/main Translation-en
  16. Reading package lists...' aptget update
  17. mv rootdir/var/lib/apt/lists/localhost* rootdir/var/lib/apt/lists/partial
  18. aptget update