summaryrefslogtreecommitdiff
path: root/test/integration/test-apt-patterns
diff options
context:
space:
mode:
authorJulian Andres Klode <julian.klode@canonical.com>2019-08-21 22:31:01 +0200
committerJulian Andres Klode <julian.klode@canonical.com>2019-11-25 11:32:19 +0100
commit391c9f20208584bf429c7717047a0637d0d670fb (patch)
treea7d46dbce11788b3b1c35cbe8971676af0eef143 /test/integration/test-apt-patterns
parent7fa292edbe924923cc689721fe58244ca0a40bcd (diff)
patterns: Add ?archive
Diffstat (limited to 'test/integration/test-apt-patterns')
-rwxr-xr-xtest/integration/test-apt-patterns5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/integration/test-apt-patterns b/test/integration/test-apt-patterns
index c030e37ec..2fa5d336d 100755
--- a/test/integration/test-apt-patterns
+++ b/test/integration/test-apt-patterns
@@ -113,6 +113,11 @@ testsuccessequal "Listing..." apt list '?architecture(foreign)'
testsuccessequal "Listing..." apt list '?architecture(native)'
testsuccessequal "Listing...
+available/unstable 1.0 all
+foreign/unstable 2.0 amd64
+not-obsolete/unstable 2.0 i386 [upgradable from: 1.0]" apt list '?archive(^unstable$)'
+
+testsuccessequal "Listing...
automatic1/now 1.0 i386 [installed,local]
automatic2/now 1.0 i386 [installed,local]" apt list '?automatic'