diff options
author | David Kalnischkies <david@kalnischkies.de> | 2016-01-14 20:13:16 +0100 |
---|---|---|
committer | David Kalnischkies <david@kalnischkies.de> | 2016-01-14 23:08:02 +0100 |
commit | 62428dbc17ffa7b5b8188e88609a9438428d6024 (patch) | |
tree | 5b4fb96209bd4f2bd8af80e09389d7ccc3222289 /test/integration/test-multiarch-foreign | |
parent | fa47f406cf434e175885c5920175c0cedcd62746 (diff) |
fix M-A:foreign provides creation for unknown archs
Architectures for packages which do not belong to the native nor a
foreign architecture (dubbed barbarian for now) which are marked
M-A:foreign still provide in their own architecture even if not for
others. Also, other M-A:foreign (and allowed) packages provide in these
barbarian architectures.
Diffstat (limited to 'test/integration/test-multiarch-foreign')
-rwxr-xr-x | test/integration/test-multiarch-foreign | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/test/integration/test-multiarch-foreign b/test/integration/test-multiarch-foreign index 5daef4ad1..713b27bd4 100755 --- a/test/integration/test-multiarch-foreign +++ b/test/integration/test-multiarch-foreign @@ -250,7 +250,9 @@ msgmsg 'switch to multi-arch with barbarian architecture' insertinstalledpackage 'foo' 'armhf' '1.0' 'Multi-Arch: foreign' insertinstalledpackage 'bar' 'armhf' '1.0' 'Provides: bar-provider Multi-Arch: foreign' +insertinstalledpackage 'bar-needer' 'armhf' '1.0' 'Depends: bar-provider' +testsuccess aptget check testsuccessequal 'Reading package lists... Building dependency tree... The following additional packages will be installed: @@ -274,8 +276,12 @@ The following packages will be REMOVED: The following NEW packages will be installed: bar cool-bar 0 upgraded, 2 newly installed, 1 to remove and 0 not upgraded. -Remv bar:armhf [1.0] +Remv bar:armhf [1.0] [bar-needer:armhf ] Inst bar (1.0 unstable [amd64]) Inst cool-bar (1.0 unstable [amd64]) Conf bar (1.0 unstable [amd64]) Conf cool-bar (1.0 unstable [amd64])' aptget install cool-bar -s + +# a barbarian doesn't satisfy another either +insertinstalledpackage 'bar-needer2' 's390x' '1.0' 'Depends: bar-provider' +testfailure aptget check |