summaryrefslogtreecommitdiff
path: root/test/integration/test-apt-cli-show
diff options
context:
space:
mode:
authorJulian Andres Klode <julian.klode@canonical.com>2024-10-29 14:06:51 +0100
committerJulian Andres Klode <julian.klode@canonical.com>2024-12-19 18:24:37 +0100
commit71727c2a761889855b3c1aaf4243649e98032f67 (patch)
treefd1753d3042128c580b12a649651c3d8ce243e50 /test/integration/test-apt-cli-show
parentf6198e45b4cd924f390f977077d96b4545da0c91 (diff)
apt show: Add pinning information for --full
Add new fields `APT-Pin`, `APT-Candidate`, and `APT-Release` to the output, same as in EDSP (limited to one release for now).
Diffstat (limited to 'test/integration/test-apt-cli-show')
-rwxr-xr-xtest/integration/test-apt-cli-show3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/integration/test-apt-cli-show b/test/integration/test-apt-cli-show
index 010775d9b..8f9aa036f 100755
--- a/test/integration/test-apt-cli-show
+++ b/test/integration/test-apt-cli-show
@@ -57,6 +57,9 @@ SHA256: 0000000000000000000000000000000000000000000000000000000000000000
Download-Size: 42 B
APT-Manual-Installed: yes
APT-Sources: file:$APTARCHIVE unstable/main all Packages
+APT-Pin: 500
+APT-Candidate: yes
+APT-Release: a=unstable,n=sid,c=main,b=all
Description: Some description
That has multiple lines
" apt show foo --full