]>
Commit | Line | Data |
---|---|---|
1 | #!/bin/sh | |
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 | |
18 | ||
19 | testfileequal './apt-progress.log' '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) | |
27 | ||
28 | Status: progress | |
29 | Package: testing:amd64 | |
30 | Percent: 16.6667 | |
31 | Message: Preparing testing (amd64) | |
32 | ||
33 | Status: progress | |
34 | Package: testing:amd64 | |
35 | Percent: 33.3333 | |
36 | Message: Unpacking testing (amd64) | |
37 | ||
38 | Status: progress | |
39 | Package: testing:amd64 | |
40 | Percent: 50 | |
41 | Message: Preparing to configure testing (amd64) | |
42 | ||
43 | Status: progress | |
44 | Percent: 50 | |
45 | Message: Running dpkg | |
46 | ||
47 | Status: progress | |
48 | Package: testing:amd64 | |
49 | Percent: 50 | |
50 | Message: Configuring testing (amd64) | |
51 | ||
52 | Status: progress | |
53 | Package: testing:amd64 | |
54 | Percent: 66.6667 | |
55 | Message: Configuring testing (amd64) | |
56 | ||
57 | Status: progress | |
58 | Package: testing:amd64 | |
59 | Percent: 83.3333 | |
60 | Message: Installed testing (amd64) | |
61 | ||
62 | Status: progress | |
63 | Percent: 83.3333 | |
64 | Message: Running dpkg | |
65 | ' | |
66 | ||
67 | rm -f apt-progress*.log |