test-cachecontainer-architecture-specification 3.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  1. #!/bin/sh
  2. set -e
  3. TESTDIR=$(readlink -f $(dirname $0))
  4. . $TESTDIR/framework
  5. setupenvironment
  6. configarchitecture 'amd64' 'armel'
  7. #insertinstalledpackage 'xserver-xorg-core' 'amd64' '2:1.7.6-2ubuntu7.10'
  8. insertpackage 'unstable' 'libsame' 'armel,amd64' '1' 'Multi-Arch: same'
  9. setupaptarchive
  10. testequal 'Reading package lists...
  11. Building dependency tree...
  12. The following NEW packages will be installed:
  13. libsame
  14. 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
  15. Inst libsame (1 unstable [amd64])
  16. Conf libsame (1 unstable [amd64])' aptget -s install libsame
  17. testequal 'Reading package lists...
  18. Building dependency tree...
  19. The following NEW packages will be installed:
  20. libsame:armel
  21. 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
  22. Inst libsame:armel (1 unstable [armel])
  23. Conf libsame:armel (1 unstable [armel])' aptget -s install libsame:armel
  24. testequal 'Reading package lists...
  25. Building dependency tree...
  26. E: Unable to locate package libsame' aptget -s install libsame:armhf
  27. testequal 'Reading package lists...
  28. Building dependency tree...
  29. The following NEW packages will be installed:
  30. libsame
  31. 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
  32. Inst libsame (1 unstable [amd64])
  33. Conf libsame (1 unstable [amd64])' aptget -s install libsame:amd64
  34. testequal 'Reading package lists...
  35. Building dependency tree...
  36. The following NEW packages will be installed:
  37. libsame libsame:armel
  38. 0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
  39. Inst libsame (1 unstable [amd64])
  40. Inst libsame:armel (1 unstable [armel])
  41. Conf libsame (1 unstable [amd64])
  42. Conf libsame:armel (1 unstable [armel])' aptget -s install libsame:armel libsame:amd64
  43. testequal 'Reading package lists...
  44. Building dependency tree...
  45. The following NEW packages will be installed:
  46. libsame libsame:armel
  47. 0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
  48. Inst libsame (1 unstable [amd64])
  49. Inst libsame:armel (1 unstable [armel])
  50. Conf libsame (1 unstable [amd64])
  51. Conf libsame:armel (1 unstable [armel])' aptget -s install libsame:*
  52. testequal 'Reading package lists...
  53. Building dependency tree...
  54. The following NEW packages will be installed:
  55. libsame
  56. 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
  57. Inst libsame (1 unstable [amd64])
  58. Conf libsame (1 unstable [amd64])' aptget -s install libsame:any
  59. testequal 'Reading package lists...
  60. Building dependency tree...
  61. The following NEW packages will be installed:
  62. libsame libsame:armel
  63. 0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
  64. Inst libsame (1 unstable [amd64])
  65. Inst libsame:armel (1 unstable [armel])
  66. Conf libsame (1 unstable [amd64])
  67. Conf libsame:armel (1 unstable [armel])' aptget -s install libsame:a*
  68. testequal 'Reading package lists...
  69. Building dependency tree...
  70. The following NEW packages will be installed:
  71. libsame
  72. 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
  73. Inst libsame (1 unstable [amd64])
  74. Conf libsame (1 unstable [amd64])' aptget -s install libsame:linux-any
  75. testequal 'Reading package lists...
  76. Building dependency tree...
  77. The following NEW packages will be installed:
  78. libsame libsame:armel
  79. 0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
  80. Inst libsame (1 unstable [amd64])
  81. Inst libsame:armel (1 unstable [armel])
  82. Conf libsame (1 unstable [amd64])
  83. Conf libsame:armel (1 unstable [armel])' aptget -s install libsame:linux-*
  84. testequal 'Reading package lists...
  85. Building dependency tree...
  86. E: Unable to locate package libsame' aptget -s install libsame:windows-any