]>
Commit | Line | Data |
---|---|---|
4e9ccfb2 CB |
1 | #!/bin/sh |
2 | set -e | |
3 | ||
4 | TESTDIR=$(readlink -f $(dirname $0)) | |
5 | . $TESTDIR/framework | |
6 | setupenvironment | |
7 | configarchitecture "i386" | |
8 | ||
9 | insertinstalledpackage 'libc-bin' 'i386' '2.13-8' 'Replaces: libc6' | |
10 | insertpackage 'unstable' 'libc-bin' 'i386' '2.13-8' 'Replaces: libc6' | |
11 | insertinstalledpackage 'libc6' 'i386' '2.13-8' 'Depends: libc-bin (= 2.13-8)' | |
12 | insertpackage 'unstable' 'libc6' 'i386' '2.13-8' 'Depends: libc-bin (= 2.13-8)' | |
13 | insertinstalledpackage 'apt' 'i386' '0.8.15' 'Depends: libc6' | |
14 | ||
15 | setupaptarchive | |
16 | ||
28f7a8f2 DK |
17 | testequal 'Reading package lists... |
18 | Building dependency tree... | |
19 | 0 upgraded, 0 newly installed, 2 reinstalled, 0 to remove and 0 not upgraded. | |
20 | Inst libc-bin [2.13-8] (2.13-8 unstable [i386]) | |
21 | Conf libc-bin (2.13-8 unstable [i386]) | |
22 | Inst libc6 [2.13-8] (2.13-8 unstable [i386]) | |
23 | Conf libc6 (2.13-8 unstable [i386])' aptget install --reinstall libc6 libc-bin -s |