test-prefer-native-architecture-over-higher-priority 769 B

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