]>
Commit | Line | Data |
---|---|---|
88a52816 DK |
1 | #!/bin/sh |
2 | set -e | |
3 | ||
3abb6a6a DK |
4 | TESTDIR="$(readlink -f "$(dirname "$0")")" |
5 | . "$TESTDIR/framework" | |
88a52816 DK |
6 | setupenvironment |
7 | configarchitecture 'amd64' 'i386' | |
8 | ||
9 | insertpackage 'unstable-mp' 'crda' 'i386,amd64' '1.1.1-1ubuntu4mp' 'Provides: wireless-crda | |
10 | Multi-Arch: foreign' | |
11 | insertpackage 'unstable-m' 'crda' 'i386,amd64' '1.1.1-1ubuntu4m' 'Multi-Arch: foreign' | |
12 | insertpackage 'unstable-p' 'crda' 'i386,amd64' '1.1.1-1ubuntu4p' 'Provides: wireless-crda' | |
5f909b67 DK |
13 | insertpackage 'unstable' 'wireless-crda' 'i386,amd64' '1.16' |
14 | ||
88a52816 DK |
15 | |
16 | insertinstalledpackage 'wireless-crda' 'amd64' '1.14' | |
17 | ||
18 | setupaptarchive | |
19 | ||
25b86db1 | 20 | testsuccessequal 'Reading package lists... |
88a52816 DK |
21 | Building dependency tree... |
22 | The following NEW packages will be installed: | |
23 | crda | |
5f909b67 | 24 | 0 upgraded, 1 newly installed, 0 to remove and 1 not upgraded. |
88a52816 DK |
25 | Inst crda (1.1.1-1ubuntu4m unstable-m [amd64]) |
26 | Conf crda (1.1.1-1ubuntu4m unstable-m [amd64])' aptget install crda -s -t unstable-m | |
27 | ||
25b86db1 | 28 | testsuccessequal 'Reading package lists... |
88a52816 DK |
29 | Building dependency tree... |
30 | The following NEW packages will be installed: | |
31 | crda | |
5f909b67 | 32 | 0 upgraded, 1 newly installed, 0 to remove and 1 not upgraded. |
88a52816 DK |
33 | Inst crda (1.1.1-1ubuntu4p unstable-p [amd64]) |
34 | Conf crda (1.1.1-1ubuntu4p unstable-p [amd64])' aptget install crda -s -t unstable-p | |
35 | ||
25b86db1 | 36 | testsuccessequal 'Reading package lists... |
88a52816 DK |
37 | Building dependency tree... |
38 | The following NEW packages will be installed: | |
39 | crda | |
5f909b67 | 40 | 0 upgraded, 1 newly installed, 0 to remove and 1 not upgraded. |
88a52816 DK |
41 | Inst crda (1.1.1-1ubuntu4mp unstable-mp [amd64]) |
42 | Conf crda (1.1.1-1ubuntu4mp unstable-mp [amd64])' aptget install crda -s -t unstable-mp | |
5f909b67 DK |
43 | |
44 | rm rootdir/var/lib/dpkg/status | |
45 | insertinstalledpackage 'crda' 'amd64' '1.1.1-1ubuntu4mp' 'Provides: wireless-crda | |
46 | Conflicts: wireless-crda (<< 1.15) | |
47 | Replaces: wireless-crda ( << 1.15) | |
48 | Multi-arch: foreign' | |
49 | ||
25b86db1 | 50 | testsuccessequal 'Reading package lists... |
5f909b67 DK |
51 | Building dependency tree... |
52 | The following NEW packages will be installed: | |
53 | wireless-crda | |
54 | 0 upgraded, 1 newly installed, 0 to remove and 1 not upgraded. | |
55 | Inst wireless-crda (1.16 unstable [amd64]) | |
56 | Conf wireless-crda (1.16 unstable [amd64])' aptget install wireless-crda -s -t unstable |