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.
 
 
 
 
 
 

105 lines
3.8 KiB

  1. #!/bin/sh
  2. set -e
  3. TESTDIR="$(readlink -f "$(dirname "$0")")"
  4. . "$TESTDIR/framework"
  5. setupenvironment
  6. configarchitecture 'amd64' 'i386'
  7. insertpackage 'stable' 'libmesa' 'amd64,i386' '1' 'Multi-Arch: same'
  8. insertpackage 'stable' 'libmesa-lts' 'amd64,i386' '1' 'Provides: libmesa
  9. Conflicts: libmesa
  10. Multi-Arch: same'
  11. insertpackage 'stable' 'steam' 'i386' '1' 'Depends: libmesa'
  12. insertpackage 'unstable' 'libmesa' 'amd64,i386' '2' 'Multi-Arch: same'
  13. insertpackage 'unstable' 'libmesa-lts' 'amd64,i386' '2' 'Provides: libmesa
  14. Conflicts: libmesa
  15. Multi-Arch: same'
  16. insertpackage 'unstable' 'steam' 'i386' '2' 'Depends: libmesa'
  17. setupaptarchive
  18. testsuccessequal 'Reading package lists...
  19. Building dependency tree...
  20. The following additional packages will be installed:
  21. libmesa:i386
  22. The following NEW packages will be installed:
  23. libmesa:i386 steam:i386
  24. 0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
  25. Inst libmesa:i386 (1 stable [i386])
  26. Inst steam:i386 (1 stable [i386])
  27. Conf libmesa:i386 (1 stable [i386])
  28. Conf steam:i386 (1 stable [i386])' aptget install steam -st stable
  29. testsuccessequal 'Reading package lists...
  30. Building dependency tree...
  31. The following additional packages will be installed:
  32. libmesa:i386
  33. The following NEW packages will be installed:
  34. libmesa:i386 steam:i386
  35. 0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
  36. Inst libmesa:i386 (2 unstable [i386])
  37. Inst steam:i386 (2 unstable [i386])
  38. Conf libmesa:i386 (2 unstable [i386])
  39. Conf steam:i386 (2 unstable [i386])' aptget install steam -st unstable
  40. cp rootdir/var/lib/dpkg/status default-status.dpkg
  41. insertinstalledpackage 'libmesa' 'amd64' '1' 'Multi-Arch: same'
  42. testsuccessequal 'Reading package lists...
  43. Building dependency tree...
  44. The following additional packages will be installed:
  45. libmesa:i386
  46. The following NEW packages will be installed:
  47. libmesa:i386 steam:i386
  48. 0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
  49. Inst libmesa:i386 (1 stable [i386])
  50. Inst steam:i386 (1 stable [i386])
  51. Conf libmesa:i386 (1 stable [i386])
  52. Conf steam:i386 (1 stable [i386])' aptget install steam -st stable
  53. testsuccessequal 'Reading package lists...
  54. Building dependency tree...
  55. The following additional packages will be installed:
  56. libmesa libmesa:i386
  57. The following NEW packages will be installed:
  58. libmesa:i386 steam:i386
  59. The following packages will be upgraded:
  60. libmesa
  61. 1 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
  62. Inst libmesa [1] (2 unstable [amd64])
  63. Inst libmesa:i386 (2 unstable [i386])
  64. Inst steam:i386 (2 unstable [i386])
  65. Conf libmesa (2 unstable [amd64])
  66. Conf libmesa:i386 (2 unstable [i386])
  67. Conf steam:i386 (2 unstable [i386])' aptget install steam -st unstable
  68. cp default-status.dpkg rootdir/var/lib/dpkg/status
  69. insertinstalledpackage 'libmesa-lts' 'amd64' '1' 'Provides: libmesa
  70. Conflicts: libmesa
  71. Multi-Arch: same'
  72. testsuccessequal 'Reading package lists...
  73. Building dependency tree...
  74. The following additional packages will be installed:
  75. libmesa-lts:i386
  76. The following NEW packages will be installed:
  77. libmesa-lts:i386 steam:i386
  78. 0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
  79. Inst libmesa-lts:i386 (1 stable [i386])
  80. Inst steam:i386 (1 stable [i386])
  81. Conf libmesa-lts:i386 (1 stable [i386])
  82. Conf steam:i386 (1 stable [i386])' aptget install steam -st stable
  83. testsuccessequal 'Reading package lists...
  84. Building dependency tree...
  85. The following additional packages will be installed:
  86. libmesa-lts libmesa-lts:i386
  87. The following NEW packages will be installed:
  88. libmesa-lts:i386 steam:i386
  89. The following packages will be upgraded:
  90. libmesa-lts
  91. 1 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
  92. Inst libmesa-lts [1] (2 unstable [amd64])
  93. Inst libmesa-lts:i386 (2 unstable [i386])
  94. Inst steam:i386 (2 unstable [i386])
  95. Conf libmesa-lts (2 unstable [amd64])
  96. Conf libmesa-lts:i386 (2 unstable [i386])
  97. Conf steam:i386 (2 unstable [i386])' aptget install steam -st unstable