test-cachecontainer-architecture-specification 3.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  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. The following NEW packages will be installed:
  27. libsame
  28. 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
  29. Inst libsame (1 unstable [amd64])
  30. Conf libsame (1 unstable [amd64])' aptget -s install libsame:amd64
  31. testequal 'Reading package lists...
  32. Building dependency tree...
  33. The following NEW packages will be installed:
  34. libsame libsame:armel
  35. 0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
  36. Inst libsame (1 unstable [amd64])
  37. Inst libsame:armel (1 unstable [armel])
  38. Conf libsame (1 unstable [amd64])
  39. Conf libsame:armel (1 unstable [armel])' aptget -s install libsame:armel libsame:amd64
  40. testequal 'Reading package lists...
  41. Building dependency tree...
  42. The following NEW packages will be installed:
  43. libsame libsame:armel
  44. 0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
  45. Inst libsame (1 unstable [amd64])
  46. Inst libsame:armel (1 unstable [armel])
  47. Conf libsame (1 unstable [amd64])
  48. Conf libsame:armel (1 unstable [armel])' aptget -s install libsame:*
  49. testequal 'Reading package lists...
  50. Building dependency tree...
  51. The following NEW packages will be installed:
  52. libsame
  53. 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
  54. Inst libsame (1 unstable [amd64])
  55. Conf libsame (1 unstable [amd64])' aptget -s install libsame:any
  56. testequal 'Reading package lists...
  57. Building dependency tree...
  58. The following NEW packages will be installed:
  59. libsame libsame:armel
  60. 0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
  61. Inst libsame (1 unstable [amd64])
  62. Inst libsame:armel (1 unstable [armel])
  63. Conf libsame (1 unstable [amd64])
  64. Conf libsame:armel (1 unstable [armel])' aptget -s install libsame:a*
  65. testequal 'Reading package lists...
  66. Building dependency tree...
  67. The following NEW packages will be installed:
  68. libsame
  69. 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
  70. Inst libsame (1 unstable [amd64])
  71. Conf libsame (1 unstable [amd64])' aptget -s install libsame:linux-any
  72. testequal 'Reading package lists...
  73. Building dependency tree...
  74. The following NEW packages will be installed:
  75. libsame libsame:armel
  76. 0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
  77. Inst libsame (1 unstable [amd64])
  78. Inst libsame:armel (1 unstable [armel])
  79. Conf libsame (1 unstable [amd64])
  80. Conf libsame:armel (1 unstable [armel])' aptget -s install libsame:linux-*
  81. testequal 'Reading package lists...
  82. Building dependency tree...
  83. E: Unable to locate package libsame' aptget -s install libsame:windows-any