summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorMichael Vogt <mvo@debian.org>2014-01-24 21:03:49 +0100
committerMichael Vogt <mvo@debian.org>2014-01-24 21:03:49 +0100
commit85d7c0eb60efd0de13ad331676b6227f52bed6c6 (patch)
tree0f413ad85545186b5390775ca5f13a155c76e93a /test
parent0c8b6001694bb0ddf9eb6bc4936151592e1a07fa (diff)
Show "Manual-Installed: {yes|no}" in apt show
Diffstat (limited to 'test')
-rwxr-xr-xtest/integration/test-apt-cli-show5
1 files changed, 4 insertions, 1 deletions
diff --git a/test/integration/test-apt-cli-show b/test/integration/test-apt-cli-show
index ba56e3260..11a93f268 100755
--- a/test/integration/test-apt-cli-show
+++ b/test/integration/test-apt-cli-show
@@ -10,12 +10,14 @@ configarchitecture "i386"
DESCR='Some description
That has multiple lines'
insertpackage 'unstable' 'foo' 'all' '1.0' '' '' "$DESCR"
+insertinstalledpackage 'foo' 'all' '1.0'
setupaptarchive
APTARCHIVE=$(readlink -f ./aptarchive)
# note that we do not display Description-md5 with the "apt" cmd
+# and also show some additional fields that are calculated
testequal "Package: foo
Priority: optional
Section: other
@@ -25,7 +27,8 @@ Architecture: all
Version: 1.0
Filename: pool/main/foo/foo_1.0_all.deb
Download-Size: unknown
-Archive-Origin: unstable
+Archive-Origin: unstable,now
+Manual-Installed: yes
Description: Some description
That has multiple lines
" apt show foo