]> git.saurik.com Git - apt.git/blame - test/integration/test-bug-multiarch-upgrade
pass-through stdin fd instead of content if not a terminal
[apt.git] / test / integration / test-bug-multiarch-upgrade
CommitLineData
0dfc7eef
MV
1#!/bin/sh
2set -e
3
4TESTDIR=$(readlink -f $(dirname $0))
5. $TESTDIR/framework
6setupenvironment
7configarchitecture 'amd64' 'i386'
8
9insertinstalledpackage 'libcups2' 'amd64' '1' 'Multi-Arch: same'
10insertinstalledpackage 'libcups2' 'i386' '1' 'Multi-Arch: same'
11
12insertpackage 'unstable' 'libcups2' 'amd64' '0' 'Multi-Arch: same'
13insertpackage 'unstable' 'libcups2' 'amd64' '2' 'Multi-Arch: same'
14insertpackage 'unstable' 'libcups2' 'i386' '0' 'Multi-Arch: same'
15insertpackage 'unstable' 'libcups2' 'i386' '2' 'Multi-Arch: same'
16
17setupaptarchive
18
19testequal 'Reading package lists...
20Building dependency tree...
21The following extra packages will be installed:
22 libcups2
23The following packages will be upgraded:
24 libcups2 libcups2:i386
252 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
26Inst libcups2 [1] (2 unstable [amd64]) [libcups2:amd64 on libcups2:i386] [libcups2:i386 on libcups2:amd64] [libcups2:i386 ]
27Inst libcups2:i386 [1] (2 unstable [i386])
0caa5a4c
DK
28Conf libcups2:i386 (2 unstable [i386])
29Conf libcups2 (2 unstable [amd64])' aptget install -s libcups2:i386