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.
 
 
 
 
 
 

30 lines
1.1 KiB

  1. #!/bin/sh
  2. set -e
  3. TESTDIR="$(readlink -f "$(dirname "$0")")"
  4. . "$TESTDIR/framework"
  5. setupenvironment
  6. configarchitecture 'amd64' 'i386'
  7. insertinstalledpackage 'libcups2' 'amd64' '1' 'Multi-Arch: same'
  8. insertinstalledpackage 'libcups2' 'i386' '1' 'Multi-Arch: same'
  9. insertpackage 'unstable' 'libcups2' 'amd64' '0' 'Multi-Arch: same'
  10. insertpackage 'unstable' 'libcups2' 'amd64' '2' 'Multi-Arch: same'
  11. insertpackage 'unstable' 'libcups2' 'i386' '0' 'Multi-Arch: same'
  12. insertpackage 'unstable' 'libcups2' 'i386' '2' 'Multi-Arch: same'
  13. setupaptarchive
  14. testsuccessequal 'Reading package lists...
  15. Building dependency tree...
  16. The following additional packages will be installed:
  17. libcups2
  18. The following packages will be upgraded:
  19. libcups2 libcups2:i386
  20. 2 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
  21. Inst libcups2 [1] (2 unstable [amd64]) [libcups2:amd64 on libcups2:i386] [libcups2:i386 on libcups2:amd64] [libcups2:i386 ]
  22. Inst libcups2:i386 [1] (2 unstable [i386])
  23. Conf libcups2 (2 unstable [amd64])
  24. Conf libcups2:i386 (2 unstable [i386])' aptget install -s libcups2:i386