]>
Commit | Line | Data |
---|---|---|
01f520ce DK |
1 | #!/bin/sh |
2 | set -e | |
3 | ||
4 | TESTDIR=$(readlink -f $(dirname $0)) | |
5 | . $TESTDIR/framework | |
6 | setupenvironment | |
7 | configarchitecture 'amd64' 'armel' | |
8 | ||
9 | #insertinstalledpackage 'xserver-xorg-core' 'amd64' '2:1.7.6-2ubuntu7.10' | |
10 | insertpackage 'unstable' 'libsame' 'armel,amd64' '1' 'Multi-Arch: same' | |
11 | ||
12 | setupaptarchive | |
13 | ||
14 | testequal 'Reading package lists... | |
15 | Building dependency tree... | |
16 | The following NEW packages will be installed: | |
17 | libsame | |
18 | 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. | |
19 | Inst libsame (1 unstable [amd64]) | |
20 | Conf libsame (1 unstable [amd64])' aptget -s install libsame | |
21 | testequal 'Reading package lists... | |
22 | Building dependency tree... | |
23 | The following NEW packages will be installed: | |
24 | libsame:armel | |
25 | 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. | |
26 | Inst libsame:armel (1 unstable [armel]) | |
27 | Conf libsame:armel (1 unstable [armel])' aptget -s install libsame:armel | |
28 | testequal 'Reading package lists... | |
29 | Building dependency tree... | |
5f20ac7f DK |
30 | E: Unable to locate package libsame' aptget -s install libsame:armhf |
31 | testequal 'Reading package lists... | |
32 | Building dependency tree... | |
01f520ce DK |
33 | The following NEW packages will be installed: |
34 | libsame | |
35 | 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. | |
36 | Inst libsame (1 unstable [amd64]) | |
37 | Conf libsame (1 unstable [amd64])' aptget -s install libsame:amd64 | |
38 | testequal 'Reading package lists... | |
39 | Building dependency tree... | |
40 | The following NEW packages will be installed: | |
41 | libsame libsame:armel | |
42 | 0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded. | |
43 | Inst libsame (1 unstable [amd64]) | |
44 | Inst libsame:armel (1 unstable [armel]) | |
45 | Conf libsame (1 unstable [amd64]) | |
46 | Conf libsame:armel (1 unstable [armel])' aptget -s install libsame:armel libsame:amd64 | |
47 | testequal 'Reading package lists... | |
48 | Building dependency tree... | |
49 | The following NEW packages will be installed: | |
50 | libsame libsame:armel | |
51 | 0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded. | |
52 | Inst libsame (1 unstable [amd64]) | |
53 | Inst libsame:armel (1 unstable [armel]) | |
54 | Conf libsame (1 unstable [amd64]) | |
55 | Conf libsame:armel (1 unstable [armel])' aptget -s install libsame:* | |
56 | testequal 'Reading package lists... | |
57 | Building dependency tree... | |
58 | The following NEW packages will be installed: | |
59 | libsame | |
60 | 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. | |
61 | Inst libsame (1 unstable [amd64]) | |
62 | Conf libsame (1 unstable [amd64])' aptget -s install libsame:any | |
63 | testequal 'Reading package lists... | |
64 | Building dependency tree... | |
65 | The following NEW packages will be installed: | |
66 | libsame libsame:armel | |
67 | 0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded. | |
68 | Inst libsame (1 unstable [amd64]) | |
69 | Inst libsame:armel (1 unstable [armel]) | |
70 | Conf libsame (1 unstable [amd64]) | |
71 | Conf libsame:armel (1 unstable [armel])' aptget -s install libsame:a* | |
72 | testequal 'Reading package lists... | |
73 | Building dependency tree... | |
74 | The following NEW packages will be installed: | |
75 | libsame | |
76 | 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. | |
77 | Inst libsame (1 unstable [amd64]) | |
78 | Conf libsame (1 unstable [amd64])' aptget -s install libsame:linux-any | |
79 | testequal 'Reading package lists... | |
80 | Building dependency tree... | |
81 | The following NEW packages will be installed: | |
82 | libsame libsame:armel | |
83 | 0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded. | |
84 | Inst libsame (1 unstable [amd64]) | |
85 | Inst libsame:armel (1 unstable [armel]) | |
86 | Conf libsame (1 unstable [amd64]) | |
87 | Conf libsame:armel (1 unstable [armel])' aptget -s install libsame:linux-* | |
88 | testequal 'Reading package lists... | |
89 | Building dependency tree... | |
90 | E: Unable to locate package libsame' aptget -s install libsame:windows-any |