| 1 | #!/bin/sh |
| 2 | set -e |
| 3 | |
| 4 | TESTDIR=$(readlink -f $(dirname $0)) |
| 5 | . $TESTDIR/framework |
| 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' |
| 13 | insertpackage 'unstable' 'wireless-crda' 'i386,amd64' '1.16' |
| 14 | |
| 15 | |
| 16 | insertinstalledpackage 'wireless-crda' 'amd64' '1.14' |
| 17 | |
| 18 | setupaptarchive |
| 19 | |
| 20 | testequal 'Reading package lists... |
| 21 | Building dependency tree... |
| 22 | The following NEW packages will be installed: |
| 23 | crda |
| 24 | 0 upgraded, 1 newly installed, 0 to remove and 1 not upgraded. |
| 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 | |
| 28 | testequal 'Reading package lists... |
| 29 | Building dependency tree... |
| 30 | The following NEW packages will be installed: |
| 31 | crda |
| 32 | 0 upgraded, 1 newly installed, 0 to remove and 1 not upgraded. |
| 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 | |
| 36 | testequal 'Reading package lists... |
| 37 | Building dependency tree... |
| 38 | The following NEW packages will be installed: |
| 39 | crda |
| 40 | 0 upgraded, 1 newly installed, 0 to remove and 1 not upgraded. |
| 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 |
| 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 | |
| 50 | testequal 'Reading package lists... |
| 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 |