diff options
author | Julian Andres Klode <julian.klode@canonical.com> | 2019-08-15 13:12:43 +0200 |
---|---|---|
committer | Julian Andres Klode <julian.klode@canonical.com> | 2019-08-15 20:21:34 +0200 |
commit | 083e72a5939d33dc1fd7596aa441a9982332f776 (patch) | |
tree | b50d465b812d8155af0a79e994f0bd7ad8d73534 /test | |
parent | c64a85dd7524546864603b955f601bf64c9a4bcf (diff) |
Add ?automatic and ?garbage patterns
These patterns allow you to identify automatically installed
packages, as well as automatically installed packages that are
no longer reachable from the manually installed ones.
Diffstat (limited to 'test')
-rwxr-xr-x | test/integration/test-apt-patterns | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/integration/test-apt-patterns b/test/integration/test-apt-patterns index 0d7b1540d..9a2c74f83 100755 --- a/test/integration/test-apt-patterns +++ b/test/integration/test-apt-patterns @@ -112,6 +112,12 @@ foreign/unstable 2.0 amd64" apt list '?architecture(amd64)' testsuccessequal "Listing..." apt list '?architecture(foreign)' testsuccessequal "Listing..." apt list '?architecture(native)' +testsuccessequal "Listing... +automatic1/now 1.0 i386 [installed,local] +automatic2/now 1.0 i386 [installed,local]" apt list '?automatic' + +testsuccessequal "Listing... +automatic2/now 1.0 i386 [installed,local]" apt list '?garbage' testsuccessequal "Listing... automatic1/now 1.0 i386 [installed,local] |