]> git.saurik.com Git - apt.git/blob - test/integration/test-ubuntu-bug-802901-multiarch-early-remove
add a testcase for #675449, which i forgot to commit
[apt.git] / test / integration / test-ubuntu-bug-802901-multiarch-early-remove
1 #!/bin/sh
2 set -e
3
4 TESTDIR=$(readlink -f $(dirname $0))
5 . $TESTDIR/framework
6 setupenvironment
7 configarchitecture 'amd64' 'i386'
8
9 insertinstalledpackage 'libgl1-mesa-glx' 'amd64' '2.0' 'Multi-Arch: same
10 Provides: libgl1
11 Conflicts: libgl1'
12 insertpackage 'unstable' 'libgl1-mesa-glx' 'i386,amd64' '2.0' 'Multi-Arch: same
13 Provides: libgl1
14 Conflicts: libgl1'
15
16 setupaptarchive
17
18 testequal 'Reading package lists...
19 Building dependency tree...
20 The following NEW packages will be installed:
21 libgl1-mesa-glx:i386
22 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
23 Inst libgl1-mesa-glx:i386 (2.0 unstable [i386])
24 Conf libgl1-mesa-glx:i386 (2.0 unstable [i386])' aptget install libgl1-mesa-glx:i386 -s