summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorJulian Andres Klode <julian.klode@canonical.com>2019-08-15 13:35:01 +0200
committerJulian Andres Klode <julian.klode@canonical.com>2019-08-15 20:21:34 +0200
commit08762e0e4e2923360339eeb4d8ed26a00d7f1de5 (patch)
tree5e6aa36f27e8d8dee343c6aec57a120c5032bd5f /test
parent9282c9094ab3e77cebe90e97b2f9a5fc21463e2f (diff)
Add ?essential pattern
This matches all packages where at least one of the versions is marked essential; or well, whenver apt considers a package essential.
Diffstat (limited to 'test')
-rwxr-xr-xtest/integration/test-apt-patterns3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/integration/test-apt-patterns b/test/integration/test-apt-patterns
index e566c6bd2..1efb10d2d 100755
--- a/test/integration/test-apt-patterns
+++ b/test/integration/test-apt-patterns
@@ -123,6 +123,9 @@ testsuccessequal "Listing...
conf-only/now 1.0 i386 [residual-config]" apt list '?config-files'
testsuccessequal "Listing...
+essential/now 1.0 i386 [installed,local]" apt list '?essential'
+
+testsuccessequal "Listing...
automatic2/now 1.0 i386 [installed,local]" apt list '?garbage'
testsuccessequal "Listing...