summaryrefslogtreecommitdiff
path: root/test/integration
diff options
context:
space:
mode:
authorMichael Vogt <mvo@debian.org>2014-01-22 17:18:26 +0100
committerMichael Vogt <mvo@debian.org>2014-01-22 17:18:26 +0100
commit9e51c0b6a3a1a36336820eda11bcfd5534d9d80c (patch)
tree762c18d7ca6a62ce52fdcee00aa0958f44d6341d /test/integration
parent6d73fe5be080e66a4f6ff2b250ed1957ae7ac063 (diff)
"apt show" show user friendly size info
The size/installed-size is displayed via SizeToStr() and Size is rewriten to "Download-Size" to make clear what size is refered to here.
Diffstat (limited to 'test/integration')
-rwxr-xr-xtest/integration/test-apt-cli-show3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/integration/test-apt-cli-show b/test/integration/test-apt-cli-show
index 0ab3d2e56..bbb2de7ef 100755
--- a/test/integration/test-apt-cli-show
+++ b/test/integration/test-apt-cli-show
@@ -19,11 +19,12 @@ APTARCHIVE=$(readlink -f ./aptarchive)
testequal "Package: foo
Priority: optional
Section: other
-Installed-Size: 42
+Installed-Size: 43.0 k
Maintainer: Joe Sixpack <joe@example.org>
Architecture: all
Version: 1.0
Filename: pool/main/foo/foo_1.0_all.deb
+Download-Size: unknown
Description: Some description
That has multiple lines
" apt show foo