]>
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' | |
f1d86c0e | 11 | insertpackage 'unstable' 'foo' 'all' '1' |
01f520ce DK |
12 | |
13 | setupaptarchive | |
14 | ||
25b86db1 | 15 | testsuccessequal 'Reading package lists... |
01f520ce DK |
16 | Building dependency tree... |
17 | The following NEW packages will be installed: | |
18 | libsame | |
19 | 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. | |
20 | Inst libsame (1 unstable [amd64]) | |
21 | Conf libsame (1 unstable [amd64])' aptget -s install libsame | |
25b86db1 | 22 | testsuccessequal 'Reading package lists... |
01f520ce DK |
23 | Building dependency tree... |
24 | The following NEW packages will be installed: | |
25 | libsame:armel | |
26 | 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. | |
27 | Inst libsame:armel (1 unstable [armel]) | |
28 | Conf libsame:armel (1 unstable [armel])' aptget -s install libsame:armel | |
25b86db1 | 29 | testfailureequal 'Reading package lists... |
01f520ce | 30 | Building dependency tree... |
5f20ac7f | 31 | E: Unable to locate package libsame' aptget -s install libsame:armhf |
25b86db1 | 32 | testsuccessequal 'Reading package lists... |
5f20ac7f | 33 | Building dependency tree... |
01f520ce DK |
34 | The following NEW packages will be installed: |
35 | libsame | |
36 | 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. | |
37 | Inst libsame (1 unstable [amd64]) | |
38 | Conf libsame (1 unstable [amd64])' aptget -s install libsame:amd64 | |
25b86db1 | 39 | testsuccessequal 'Reading package lists... |
01f520ce DK |
40 | Building dependency tree... |
41 | The following NEW packages will be installed: | |
42 | libsame libsame:armel | |
43 | 0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded. | |
44 | Inst libsame (1 unstable [amd64]) | |
45 | Inst libsame:armel (1 unstable [armel]) | |
46 | Conf libsame (1 unstable [amd64]) | |
47 | Conf libsame:armel (1 unstable [armel])' aptget -s install libsame:armel libsame:amd64 | |
25b86db1 | 48 | testsuccessequal 'Reading package lists... |
01f520ce DK |
49 | Building dependency tree... |
50 | The following NEW packages will be installed: | |
51 | libsame libsame:armel | |
52 | 0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded. | |
53 | Inst libsame (1 unstable [amd64]) | |
54 | Inst libsame:armel (1 unstable [armel]) | |
55 | Conf libsame (1 unstable [amd64]) | |
56 | Conf libsame:armel (1 unstable [armel])' aptget -s install libsame:* | |
25b86db1 | 57 | testsuccessequal 'Reading package lists... |
01f520ce DK |
58 | Building dependency tree... |
59 | The following NEW packages will be installed: | |
60 | libsame | |
61 | 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. | |
62 | Inst libsame (1 unstable [amd64]) | |
63 | Conf libsame (1 unstable [amd64])' aptget -s install libsame:any | |
25b86db1 | 64 | testsuccessequal 'Reading package lists... |
01f520ce DK |
65 | Building dependency tree... |
66 | The following NEW packages will be installed: | |
67 | libsame libsame:armel | |
68 | 0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded. | |
69 | Inst libsame (1 unstable [amd64]) | |
70 | Inst libsame:armel (1 unstable [armel]) | |
71 | Conf libsame (1 unstable [amd64]) | |
72 | Conf libsame:armel (1 unstable [armel])' aptget -s install libsame:a* | |
25b86db1 | 73 | testsuccessequal 'Reading package lists... |
01f520ce DK |
74 | Building dependency tree... |
75 | The following NEW packages will be installed: | |
76 | libsame | |
77 | 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. | |
78 | Inst libsame (1 unstable [amd64]) | |
79 | Conf libsame (1 unstable [amd64])' aptget -s install libsame:linux-any | |
25b86db1 | 80 | testsuccessequal 'Reading package lists... |
01f520ce DK |
81 | Building dependency tree... |
82 | The following NEW packages will be installed: | |
83 | libsame libsame:armel | |
84 | 0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded. | |
85 | Inst libsame (1 unstable [amd64]) | |
86 | Inst libsame:armel (1 unstable [armel]) | |
87 | Conf libsame (1 unstable [amd64]) | |
88 | Conf libsame:armel (1 unstable [armel])' aptget -s install libsame:linux-* | |
25b86db1 | 89 | testfailureequal 'Reading package lists... |
01f520ce DK |
90 | Building dependency tree... |
91 | E: Unable to locate package libsame' aptget -s install libsame:windows-any | |
f1d86c0e | 92 | |
25b86db1 | 93 | testfailureequal 'Reading package lists... |
f1d86c0e DK |
94 | Building dependency tree... |
95 | E: Unable to locate package foo' aptget -s install foo:armel | |
25b86db1 | 96 | testsuccessequal 'Reading package lists... |
f1d86c0e DK |
97 | Building dependency tree... |
98 | The following NEW packages will be installed: | |
99 | foo | |
100 | 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. | |
101 | Inst foo (1 unstable [all]) | |
102 | Conf foo (1 unstable [all])' aptget -s install foo | |
25b86db1 | 103 | testsuccessequal 'Reading package lists... |
f1d86c0e DK |
104 | Building dependency tree... |
105 | The following NEW packages will be installed: | |
106 | foo | |
107 | 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. | |
108 | Inst foo (1 unstable [all]) | |
109 | Conf foo (1 unstable [all])' aptget -s install foo:all | |
25b86db1 | 110 | testsuccessequal 'Reading package lists... |
f1d86c0e DK |
111 | Building dependency tree... |
112 | The following NEW packages will be installed: | |
113 | foo | |
114 | 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. | |
115 | Inst foo (1 unstable [all]) | |
116 | Conf foo (1 unstable [all])' aptget -s install foo:amd64 | |
25b86db1 | 117 | testsuccessequal 'Reading package lists... |
f1d86c0e DK |
118 | Building dependency tree... |
119 | The following NEW packages will be installed: | |
120 | foo | |
121 | 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. | |
122 | Inst foo (1 unstable [all]) | |
123 | Conf foo (1 unstable [all])' aptget -s install foo:native |