summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorMichael Vogt <mvo@debian.org>2014-05-07 20:55:41 +0200
committerMichael Vogt <mvo@debian.org>2014-05-07 20:55:41 +0200
commit773642528b6d9858c2c68ada42705ea71c8db37e (patch)
treeec568b06ff736a8b07b74522fa3e5497a5005916 /test
parent17f6ffe0c319859761707bdcd1a1afa5bfab0bb2 (diff)
fix test-bug-602412-dequote-redirect by removing the aptget update size information
Diffstat (limited to 'test')
-rwxr-xr-xtest/integration/test-bug-602412-dequote-redirect5
1 files changed, 4 insertions, 1 deletions
diff --git a/test/integration/test-bug-602412-dequote-redirect b/test/integration/test-bug-602412-dequote-redirect
index 6393f0c27..4901a32d7 100755
--- a/test/integration/test-bug-602412-dequote-redirect
+++ b/test/integration/test-bug-602412-dequote-redirect
@@ -20,11 +20,14 @@ testrun() {
testsuccess --nomsg aptget update
# check that I-M-S header is kept in redirections
+ local LOG='update.log'
+ # strip away the [ 304 B ] info
+ aptget update 2>&1 | sed -e 's/\ \[.*//' > $LOG
testequal "Hit $1 unstable InRelease
Hit $1 unstable/main Sources
Hit $1 unstable/main amd64 Packages
Hit $1 unstable/main Translation-en
-Reading package lists..." aptget update
+Reading package lists..." cat $LOG
msgtest 'Test redirection works in' 'package download'
testsuccess --nomsg aptget install unrelated --download-only -y