]>
git.saurik.com Git - apt.git/blob - test/integration/test-bug-747261-arch-specific-conflicts
4 TESTDIR
=$(readlink -f $(dirname $0))
7 configarchitecture
'amd64' 'sparc' 'armel'
9 buildsimplenativepackage
'libc6' 'amd64,sparc,armel' '1' 'stable' 'Multi-Arch: same'
10 buildsimplenativepackage
'libc6-i386' 'amd64' '1' 'stable' 'Conflicts: libc6:sparc'
14 testsuccess aptget
install 'libc6:amd64' 'libc6:sparc' -y
15 testdpkginstalled
'libc6:amd64' 'libc6:sparc'
16 testdpkgnotinstalled
'libc6-i386' 'libc6:armel'
18 testsuccess aptget
install libc6
-i386 -y
19 testdpkginstalled
'libc6:amd64' 'libc6-i386'
20 testdpkgnotinstalled
'libc6:sparc' 'libc6:armel'
22 testsuccess aptget
install libc6
:armel
-y
23 testdpkginstalled
'libc6:amd64' 'libc6:armel' 'libc6-i386'
24 testdpkgnotinstalled
'libc6:sparc'
26 testsuccess aptget
install libc6
:sparc
-y
27 testdpkginstalled
'libc6:amd64' 'libc6:armel' 'libc6:sparc'
28 testdpkgnotinstalled
'libc6-i386'
30 testsuccess aptget purge
'libc6:*' 'libc6-i386' -y
31 testdpkgnotinstalled
'libc6:amd64' 'libc6:armel' 'libc6:sparc' 'libc6-i386'
33 # check that (the actually simpler) single arch is fine, too
34 configarchitecture
'amd64'
35 testfailure aptget
install libc6
:sparc
-s
36 testsuccess aptget
install libc6 libc6
-i386 -y