From 78981cd5ec19563cf3bca2495c56e31124ae069a Mon Sep 17 00:00:00 2001 From: Julian Andres Klode Date: Fri, 21 Jan 2022 15:11:56 +0100 Subject: Add a --full mode to apt show This adds back the missing fields that we do not show any other way. --- test/integration/test-apt-cli-show | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'test/integration') diff --git a/test/integration/test-apt-cli-show b/test/integration/test-apt-cli-show index 72f079c1e..05a801f6a 100755 --- a/test/integration/test-apt-cli-show +++ b/test/integration/test-apt-cli-show @@ -42,6 +42,20 @@ APT-Sources: file:$APTARCHIVE unstable/main all Packages Description: Some description That has multiple lines " apt show foo +testsuccessequal "Package: foo +Version: 1.0 +Priority: optional +Section: other +Maintainer: Joe Sixpack +Installed-Size: 43.0 kB +Filename: pool/main/foo/foo_1.0_all.deb +SHA256: 0000000000000000000000000000000000000000000000000000000000000000 +Download-Size: 42 B +APT-Manual-Installed: yes +APT-Sources: file:$APTARCHIVE unstable/main all Packages +Description: Some description + That has multiple lines +" apt show foo --full testsuccessequal "Package: bar Version: 1 Priority: optional -- cgit v1.2.3-70-g09d2