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.
 
 
 
 
 
 

28 lines
752 B

  1. #!/bin/sh
  2. set -e
  3. TESTDIR="$(readlink -f "$(dirname "$0")")"
  4. . "$TESTDIR/framework"
  5. setupenvironment
  6. configarchitecture 'amd64' 'i386'
  7. buildsimplenativepackage 'pkgall' 'all' '1' 'stable'
  8. buildsimplenativepackage 'pkgnative' 'amd64' '1' 'stable'
  9. buildsimplenativepackage 'pkgforeign' 'i386' '1' 'stable'
  10. setupaptarchive
  11. changetowebserver
  12. testsuccess aptget update
  13. testsuccess aptget install pkgall pkgnative pkgforeign -y
  14. # if we work with an old dpkg, pkgforeign will be listed differently,
  15. # so test with aptcache for install status instead
  16. testdpkginstalled pkgall pkgnative
  17. testsuccess aptcache show pkgforeign/installed
  18. testsuccessequal 'Reading package lists...
  19. Building dependency tree...
  20. Reading state information...' aptget autoclean -s