test-bug-632221-cross-dependency-satisfaction 8.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223
  1. #!/bin/sh
  2. set -e
  3. TESTDIR=$(readlink -f $(dirname $0))
  4. . $TESTDIR/framework
  5. setupenvironment
  6. configarchitecture 'amd64' 'armel'
  7. insertinstalledpackage 'build-essential' 'all' '11.5' 'Multi-Arch: foreign'
  8. insertpackage 'unstable' 'doxygen' 'amd64,armel' '1.0' 'Multi-Arch: foreign'
  9. insertpackage 'unstable' 'libc6' 'amd64,armel' '1.0' 'Multi-Arch: same'
  10. insertpackage 'unstable' 'libc6-dev' 'amd64,armel' '1.0' 'Depends: libc6
  11. Multi-Arch: same'
  12. insertpackage 'unstable' 'libfwibble1' 'amd64,armel' '1.0' 'Depends: libc6
  13. Multi-Arch: same'
  14. insertpackage 'unstable' 'libfwibble-dev' 'amd64,armel' '1.0' 'Depends: libfwibble1'
  15. insertpackage 'unstable' 'cool' 'amd64,armel' '1.0' 'Multi-Arch: allowed'
  16. insertpackage 'unstable' 'amdboot' 'amd64' '1.0'
  17. insertpackage 'unstable' 'foreigner' 'amd64,armel' '1.0' 'Multi-Arch: foreign'
  18. insertsource 'unstable' 'apt' 'any' '0.8.15' 'Build-Depends: doxygen, libc6-dev, libc6-dev:native, cool:any, amdboot:amd64, foreigner, libfwibble-dev'
  19. setupaptarchive
  20. testequal 'Reading package lists...
  21. Building dependency tree...
  22. The following NEW packages will be installed:
  23. amdboot cool doxygen foreigner libc6 libc6-dev libfwibble-dev libfwibble1
  24. 0 upgraded, 8 newly installed, 0 to remove and 0 not upgraded.
  25. Inst amdboot (1.0 unstable [amd64])
  26. Inst cool (1.0 unstable [amd64])
  27. Inst doxygen (1.0 unstable [amd64])
  28. Inst foreigner (1.0 unstable [amd64])
  29. Inst libc6 (1.0 unstable [amd64])
  30. Inst libc6-dev (1.0 unstable [amd64])
  31. Inst libfwibble1 (1.0 unstable [amd64])
  32. Inst libfwibble-dev (1.0 unstable [amd64])
  33. Conf amdboot (1.0 unstable [amd64])
  34. Conf cool (1.0 unstable [amd64])
  35. Conf doxygen (1.0 unstable [amd64])
  36. Conf foreigner (1.0 unstable [amd64])
  37. Conf libc6 (1.0 unstable [amd64])
  38. Conf libc6-dev (1.0 unstable [amd64])
  39. Conf libfwibble1 (1.0 unstable [amd64])
  40. Conf libfwibble-dev (1.0 unstable [amd64])' aptget build-dep apt -s
  41. testequal 'Reading package lists...
  42. Building dependency tree...
  43. The following NEW packages will be installed:
  44. amdboot cool doxygen foreigner libc6 libc6:armel libc6-dev libc6-dev:armel
  45. libfwibble-dev:armel libfwibble1:armel
  46. 0 upgraded, 10 newly installed, 0 to remove and 0 not upgraded.
  47. Inst amdboot (1.0 unstable [amd64])
  48. Inst cool (1.0 unstable [amd64])
  49. Inst doxygen (1.0 unstable [amd64])
  50. Inst foreigner (1.0 unstable [amd64])
  51. Inst libc6 (1.0 unstable [amd64])
  52. Inst libc6:armel (1.0 unstable [armel])
  53. Inst libc6-dev (1.0 unstable [amd64])
  54. Inst libc6-dev:armel (1.0 unstable [armel])
  55. Inst libfwibble1:armel (1.0 unstable [armel])
  56. Inst libfwibble-dev:armel (1.0 unstable [armel])
  57. Conf amdboot (1.0 unstable [amd64])
  58. Conf cool (1.0 unstable [amd64])
  59. Conf doxygen (1.0 unstable [amd64])
  60. Conf foreigner (1.0 unstable [amd64])
  61. Conf libc6 (1.0 unstable [amd64])
  62. Conf libc6:armel (1.0 unstable [armel])
  63. Conf libc6-dev (1.0 unstable [amd64])
  64. Conf libc6-dev:armel (1.0 unstable [armel])
  65. Conf libfwibble1:armel (1.0 unstable [armel])
  66. Conf libfwibble-dev:armel (1.0 unstable [armel])' aptget build-dep apt -s -a armel
  67. configarchitecture 'armel' 'amd64'
  68. testequal 'Reading package lists...
  69. Building dependency tree...
  70. The following NEW packages will be installed:
  71. amdboot:amd64 cool doxygen foreigner libc6 libc6-dev libfwibble-dev
  72. libfwibble1
  73. 0 upgraded, 8 newly installed, 0 to remove and 0 not upgraded.
  74. Inst amdboot:amd64 (1.0 unstable [amd64])
  75. Inst cool (1.0 unstable [armel])
  76. Inst doxygen (1.0 unstable [armel])
  77. Inst foreigner (1.0 unstable [armel])
  78. Inst libc6 (1.0 unstable [armel])
  79. Inst libc6-dev (1.0 unstable [armel])
  80. Inst libfwibble1 (1.0 unstable [armel])
  81. Inst libfwibble-dev (1.0 unstable [armel])
  82. Conf amdboot:amd64 (1.0 unstable [amd64])
  83. Conf cool (1.0 unstable [armel])
  84. Conf doxygen (1.0 unstable [armel])
  85. Conf foreigner (1.0 unstable [armel])
  86. Conf libc6 (1.0 unstable [armel])
  87. Conf libc6-dev (1.0 unstable [armel])
  88. Conf libfwibble1 (1.0 unstable [armel])
  89. Conf libfwibble-dev (1.0 unstable [armel])' aptget build-dep apt -s
  90. testequal 'Reading package lists...
  91. Building dependency tree...
  92. The following NEW packages will be installed:
  93. amdboot:amd64 cool doxygen foreigner libc6:amd64 libc6 libc6-dev:amd64
  94. libc6-dev libfwibble-dev:amd64 libfwibble1:amd64
  95. 0 upgraded, 10 newly installed, 0 to remove and 0 not upgraded.
  96. Inst amdboot:amd64 (1.0 unstable [amd64])
  97. Inst cool (1.0 unstable [armel])
  98. Inst doxygen (1.0 unstable [armel])
  99. Inst foreigner (1.0 unstable [armel])
  100. Inst libc6:amd64 (1.0 unstable [amd64])
  101. Inst libc6 (1.0 unstable [armel])
  102. Inst libc6-dev:amd64 (1.0 unstable [amd64])
  103. Inst libc6-dev (1.0 unstable [armel])
  104. Inst libfwibble1:amd64 (1.0 unstable [amd64])
  105. Inst libfwibble-dev:amd64 (1.0 unstable [amd64])
  106. Conf amdboot:amd64 (1.0 unstable [amd64])
  107. Conf cool (1.0 unstable [armel])
  108. Conf doxygen (1.0 unstable [armel])
  109. Conf foreigner (1.0 unstable [armel])
  110. Conf libc6:amd64 (1.0 unstable [amd64])
  111. Conf libc6 (1.0 unstable [armel])
  112. Conf libc6-dev:amd64 (1.0 unstable [amd64])
  113. Conf libc6-dev (1.0 unstable [armel])
  114. Conf libfwibble1:amd64 (1.0 unstable [amd64])
  115. Conf libfwibble-dev:amd64 (1.0 unstable [amd64])' aptget build-dep apt -s -a amd64
  116. configarchitecture 'amd64' 'armel'
  117. insertinstalledpackage 'cool' 'amd64' '0.5'
  118. insertinstalledpackage 'foreigner' 'armel' '0.5'
  119. testequal 'Reading package lists...
  120. Building dependency tree...
  121. The following NEW packages will be installed:
  122. amdboot doxygen libc6 libc6-dev libfwibble-dev libfwibble1
  123. 0 upgraded, 6 newly installed, 0 to remove and 2 not upgraded.
  124. Inst amdboot (1.0 unstable [amd64])
  125. Inst doxygen (1.0 unstable [amd64])
  126. Inst libc6 (1.0 unstable [amd64])
  127. Inst libc6-dev (1.0 unstable [amd64])
  128. Inst libfwibble1 (1.0 unstable [amd64])
  129. Inst libfwibble-dev (1.0 unstable [amd64])
  130. Conf amdboot (1.0 unstable [amd64])
  131. Conf doxygen (1.0 unstable [amd64])
  132. Conf libc6 (1.0 unstable [amd64])
  133. Conf libc6-dev (1.0 unstable [amd64])
  134. Conf libfwibble1 (1.0 unstable [amd64])
  135. Conf libfwibble-dev (1.0 unstable [amd64])' aptget build-dep apt -s
  136. testequal 'Reading package lists...
  137. Building dependency tree...
  138. The following NEW packages will be installed:
  139. amdboot doxygen libc6 libc6:armel libc6-dev libc6-dev:armel
  140. libfwibble-dev:armel libfwibble1:armel
  141. 0 upgraded, 8 newly installed, 0 to remove and 2 not upgraded.
  142. Inst amdboot (1.0 unstable [amd64])
  143. Inst doxygen (1.0 unstable [amd64])
  144. Inst libc6 (1.0 unstable [amd64])
  145. Inst libc6:armel (1.0 unstable [armel])
  146. Inst libc6-dev (1.0 unstable [amd64])
  147. Inst libc6-dev:armel (1.0 unstable [armel])
  148. Inst libfwibble1:armel (1.0 unstable [armel])
  149. Inst libfwibble-dev:armel (1.0 unstable [armel])
  150. Conf amdboot (1.0 unstable [amd64])
  151. Conf doxygen (1.0 unstable [amd64])
  152. Conf libc6 (1.0 unstable [amd64])
  153. Conf libc6:armel (1.0 unstable [armel])
  154. Conf libc6-dev (1.0 unstable [amd64])
  155. Conf libc6-dev:armel (1.0 unstable [armel])
  156. Conf libfwibble1:armel (1.0 unstable [armel])
  157. Conf libfwibble-dev:armel (1.0 unstable [armel])' aptget build-dep apt -s -a armel
  158. configarchitecture 'armel' 'amd64'
  159. # cool 0.5 is not M-A: allowed, so amd64 is not acceptable
  160. testequal 'Reading package lists...
  161. Building dependency tree...
  162. The following packages will be REMOVED:
  163. cool:amd64
  164. The following NEW packages will be installed:
  165. amdboot:amd64 cool doxygen libc6 libc6-dev libfwibble-dev libfwibble1
  166. 0 upgraded, 7 newly installed, 1 to remove and 1 not upgraded.
  167. Remv cool:amd64 [0.5]
  168. Inst amdboot:amd64 (1.0 unstable [amd64])
  169. Inst cool (1.0 unstable [armel])
  170. Inst doxygen (1.0 unstable [armel])
  171. Inst libc6 (1.0 unstable [armel])
  172. Inst libc6-dev (1.0 unstable [armel])
  173. Inst libfwibble1 (1.0 unstable [armel])
  174. Inst libfwibble-dev (1.0 unstable [armel])
  175. Conf amdboot:amd64 (1.0 unstable [amd64])
  176. Conf cool (1.0 unstable [armel])
  177. Conf doxygen (1.0 unstable [armel])
  178. Conf libc6 (1.0 unstable [armel])
  179. Conf libc6-dev (1.0 unstable [armel])
  180. Conf libfwibble1 (1.0 unstable [armel])
  181. Conf libfwibble-dev (1.0 unstable [armel])' aptget build-dep apt -s
  182. testequal 'Reading package lists...
  183. Building dependency tree...
  184. The following NEW packages will be installed:
  185. amdboot:amd64 doxygen libc6:amd64 libc6 libc6-dev:amd64 libc6-dev
  186. libfwibble-dev:amd64 libfwibble1:amd64
  187. 0 upgraded, 8 newly installed, 0 to remove and 2 not upgraded.
  188. Inst amdboot:amd64 (1.0 unstable [amd64])
  189. Inst doxygen (1.0 unstable [armel])
  190. Inst libc6:amd64 (1.0 unstable [amd64])
  191. Inst libc6 (1.0 unstable [armel])
  192. Inst libc6-dev:amd64 (1.0 unstable [amd64])
  193. Inst libc6-dev (1.0 unstable [armel])
  194. Inst libfwibble1:amd64 (1.0 unstable [amd64])
  195. Inst libfwibble-dev:amd64 (1.0 unstable [amd64])
  196. Conf amdboot:amd64 (1.0 unstable [amd64])
  197. Conf doxygen (1.0 unstable [armel])
  198. Conf libc6:amd64 (1.0 unstable [amd64])
  199. Conf libc6 (1.0 unstable [armel])
  200. Conf libc6-dev:amd64 (1.0 unstable [amd64])
  201. Conf libc6-dev (1.0 unstable [armel])
  202. Conf libfwibble1:amd64 (1.0 unstable [amd64])
  203. Conf libfwibble-dev:amd64 (1.0 unstable [amd64])' aptget build-dep apt -s -a amd64