]> git.saurik.com Git - apt.git/blame - test/integration/test-apt-progress-fd-deb822
don't explicitly configure the last round of packages
[apt.git] / test / integration / test-apt-progress-fd-deb822
CommitLineData
c7ea1eba 1#!/bin/sh
3b1b0f29
MV
2set -e
3
3abb6a6a
DK
4TESTDIR="$(readlink -f "$(dirname "$0")")"
5. "$TESTDIR/framework"
3b1b0f29
MV
6
7setupenvironment
8configarchitecture 'amd64' 'i386'
9
10buildsimplenativepackage 'testing' 'amd64' '0.1' 'stable'
11buildsimplenativepackage 'testing' 'all' '0.8.15' 'stable'
12buildsimplenativepackage 'testing2' 'amd64,i386' '0.8.15' 'stable'
13setupaptarchive
14
15# install native
16exec 3> apt-progress.log
17testsuccess aptget install testing=0.1 -y -o APT::Status-deb822-Fd=3
3b1b0f29 18
25b86db1 19testfileequal './apt-progress.log' 'Status: progress
b58e2c7c 20Percent: 0.0000
c7ea1eba
MV
21Message: Running dpkg
22
23Status: progress
24Package: testing:amd64
b58e2c7c 25Percent: 0.0000
c7ea1eba 26Message: Installing testing (amd64)
3b1b0f29 27
c7ea1eba
MV
28Status: progress
29Package: testing:amd64
ecb777dd 30Percent: 16.6667
c7ea1eba 31Message: Preparing testing (amd64)
3b1b0f29 32
c7ea1eba
MV
33Status: progress
34Package: testing:amd64
ecb777dd 35Percent: 33.3333
c7ea1eba 36Message: Unpacking testing (amd64)
3b1b0f29 37
c7ea1eba
MV
38Status: progress
39Package: testing:amd64
b58e2c7c 40Percent: 50.0000
c7ea1eba 41Message: Preparing to configure testing (amd64)
3b1b0f29 42
c7ea1eba 43Status: progress
b58e2c7c 44Percent: 50.0000
c7ea1eba 45Message: Running dpkg
3b1b0f29 46
c7ea1eba
MV
47Status: progress
48Package: testing:amd64
b58e2c7c 49Percent: 50.0000
c7ea1eba 50Message: Configuring testing (amd64)
3b1b0f29 51
c7ea1eba
MV
52Status: progress
53Package: testing:amd64
ecb777dd 54Percent: 66.6667
c7ea1eba 55Message: Configuring testing (amd64)
3b1b0f29 56
c7ea1eba
MV
57Status: progress
58Package: testing:amd64
ecb777dd 59Percent: 83.3333
c7ea1eba 60Message: Installed testing (amd64)
25b86db1 61'
3b1b0f29
MV
62
63rm -f apt-progress*.log