From c7ea1ebaef0edebfe41353f93a81ee2ada5870a8 Mon Sep 17 00:00:00 2001 From: Michael Vogt Date: Mon, 21 Oct 2013 22:11:40 +0200 Subject: add APT::Status-deb822-Fd --- test/integration/test-apt-progress-fd-deb822 | 64 ++++++++++++++++------------ 1 file changed, 37 insertions(+), 27 deletions(-) mode change 100644 => 100755 test/integration/test-apt-progress-fd-deb822 (limited to 'test') diff --git a/test/integration/test-apt-progress-fd-deb822 b/test/integration/test-apt-progress-fd-deb822 old mode 100644 new mode 100755 index 0a7be0cd8..9d227942d --- a/test/integration/test-apt-progress-fd-deb822 +++ b/test/integration/test-apt-progress-fd-deb822 @@ -1,4 +1,4 @@ - +#!/bin/sh set -e TESTDIR=$(readlink -f $(dirname $0)) @@ -15,40 +15,50 @@ setupaptarchive # install native exec 3> apt-progress.log testsuccess aptget install testing=0.1 -y -o APT::Status-deb822-Fd=3 -testequal "# and compare -testequal "percent:0 -message: Running dpkg -package: testing2 -percent: 0 -message: Installing testing2 (i386) +testequal "Status: progress +Percent: 0 +Message: Running dpkg + +Status: progress +Package: testing:amd64 +Percent: 0 +Message: Installing testing (amd64) -package: testing2 -percent: 20 -message: Preparing testing2 (i386) +Status: progress +Package: testing:amd64 +Percent: 20 +Message: Preparing testing (amd64) -package: testing2 -percent: 40 -message: Unpacking testing2 (i386) +Status: progress +Package: testing:amd64 +Percent: 40 +Message: Unpacking testing (amd64) -package: testing2 -percent: 60 -message: Preparing to configure testing2 (i386) +Status: progress +Package: testing:amd64 +Percent: 60 +Message: Preparing to configure testing (amd64) -percent: 60 -message: Running dpkg +Status: progress +Percent: 60 +Message: Running dpkg -package: testing2 -percent: 60 -message: Configuring testing2 (i386) +Status: progress +Package: testing:amd64 +Percent: 60 +Message: Configuring testing (amd64) -package: testing2 -percent: 80 -message: Configuring testing2 (i386) +Status: progress +Package: testing:amd64 +Percent: 80 +Message: Configuring testing (amd64) -package: testing2 -percent: 100 -message: Installed testing2 (i386)" cat apt-progress.log +Status: progress +Package: testing:amd64 +Percent: 100 +Message: Installed testing (amd64) +" cat apt-progress.log rm -f apt-progress*.log -- cgit v1.2.3