test-implicit-conflicts-real-not-virtual 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. #!/bin/sh
  2. set -e
  3. TESTDIR=$(readlink -f $(dirname $0))
  4. . $TESTDIR/framework
  5. setupenvironment
  6. configarchitecture 'amd64' 'i386'
  7. insertpackage 'unstable-mp' 'crda' 'i386,amd64' '1.1.1-1ubuntu4mp' 'Provides: wireless-crda
  8. Multi-Arch: foreign'
  9. insertpackage 'unstable-m' 'crda' 'i386,amd64' '1.1.1-1ubuntu4m' 'Multi-Arch: foreign'
  10. insertpackage 'unstable-p' 'crda' 'i386,amd64' '1.1.1-1ubuntu4p' 'Provides: wireless-crda'
  11. insertinstalledpackage 'wireless-crda' 'amd64' '1.14'
  12. setupaptarchive
  13. testequal 'Reading package lists...
  14. Building dependency tree...
  15. The following NEW packages will be installed:
  16. crda
  17. 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
  18. Inst crda (1.1.1-1ubuntu4m unstable-m [amd64])
  19. Conf crda (1.1.1-1ubuntu4m unstable-m [amd64])' aptget install crda -s -t unstable-m
  20. testequal 'Reading package lists...
  21. Building dependency tree...
  22. The following NEW packages will be installed:
  23. crda
  24. 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
  25. Inst crda (1.1.1-1ubuntu4p unstable-p [amd64])
  26. Conf crda (1.1.1-1ubuntu4p unstable-p [amd64])' aptget install crda -s -t unstable-p
  27. testequal 'Reading package lists...
  28. Building dependency tree...
  29. The following NEW packages will be installed:
  30. crda
  31. 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
  32. Inst crda (1.1.1-1ubuntu4mp unstable-mp [amd64])
  33. Conf crda (1.1.1-1ubuntu4mp unstable-mp [amd64])' aptget install crda -s -t unstable-mp