]>
Commit | Line | Data |
---|---|---|
c7ea1eba | 1 | #!/bin/sh |
3b1b0f29 MV |
2 | set -e |
3 | ||
4 | TESTDIR=$(readlink -f $(dirname $0)) | |
5 | . $TESTDIR/framework | |
6 | ||
7 | setupenvironment | |
8 | configarchitecture 'amd64' 'i386' | |
9 | ||
10 | buildsimplenativepackage 'testing' 'amd64' '0.1' 'stable' | |
11 | buildsimplenativepackage 'testing' 'all' '0.8.15' 'stable' | |
12 | buildsimplenativepackage 'testing2' 'amd64,i386' '0.8.15' 'stable' | |
13 | setupaptarchive | |
14 | ||
15 | # install native | |
16 | exec 3> apt-progress.log | |
17 | testsuccess aptget install testing=0.1 -y -o APT::Status-deb822-Fd=3 | |
3b1b0f29 | 18 | |
c7ea1eba MV |
19 | testequal "Status: progress |
20 | Percent: 0 | |
21 | Message: Running dpkg | |
22 | ||
23 | Status: progress | |
24 | Package: testing:amd64 | |
25 | Percent: 0 | |
26 | Message: Installing testing (amd64) | |
3b1b0f29 | 27 | |
c7ea1eba MV |
28 | Status: progress |
29 | Package: testing:amd64 | |
30 | Percent: 20 | |
31 | Message: Preparing testing (amd64) | |
3b1b0f29 | 32 | |
c7ea1eba MV |
33 | Status: progress |
34 | Package: testing:amd64 | |
35 | Percent: 40 | |
36 | Message: Unpacking testing (amd64) | |
3b1b0f29 | 37 | |
c7ea1eba MV |
38 | Status: progress |
39 | Package: testing:amd64 | |
40 | Percent: 60 | |
41 | Message: Preparing to configure testing (amd64) | |
3b1b0f29 | 42 | |
c7ea1eba MV |
43 | Status: progress |
44 | Percent: 60 | |
45 | Message: Running dpkg | |
3b1b0f29 | 46 | |
c7ea1eba MV |
47 | Status: progress |
48 | Package: testing:amd64 | |
49 | Percent: 60 | |
50 | Message: Configuring testing (amd64) | |
3b1b0f29 | 51 | |
c7ea1eba MV |
52 | Status: progress |
53 | Package: testing:amd64 | |
54 | Percent: 80 | |
55 | Message: Configuring testing (amd64) | |
3b1b0f29 | 56 | |
c7ea1eba MV |
57 | Status: progress |
58 | Package: testing:amd64 | |
59 | Percent: 100 | |
60 | Message: Installed testing (amd64) | |
61 | " cat apt-progress.log | |
3b1b0f29 MV |
62 | |
63 | ||
64 | rm -f apt-progress*.log |