summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorJulian Andres Klode <jak@debian.org>2021-12-26 21:36:41 +0000
committerJulian Andres Klode <jak@debian.org>2021-12-26 21:36:41 +0000
commitc6bd75f906c9c782e739ec99f2983407500811bf (patch)
tree136608db9a6f62b13cb39f0ad872e9e56cbfe985 /test
parent2662f6f255a2f1fee25632dc7666d4153bf5248c (diff)
parented282548bc4b8f96ac531c9f73b42d968eadea98 (diff)
Merge branch 'bug-1002646' into 'main'
add pattern to select packages by codename (closes: #1002646) See merge request apt-team/apt!205
Diffstat (limited to 'test')
-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 5355becff..b015655d9 100755
--- a/test/integration/test-apt-patterns
+++ b/test/integration/test-apt-patterns
@@ -149,6 +149,11 @@ foreign/unstable 2.0 amd64
not-obsolete/unstable 2.0 i386 [upgradable from: 1.0]" apt list '?archive(^unstable$)'
testsuccessequal "Listing...
+available/unstable 1.0 all
+foreign/unstable 2.0 amd64
+not-obsolete/unstable 2.0 i386 [upgradable from: 1.0]" apt list '?codename(^sid$)'
+
+testsuccessequal "Listing...
automatic1/now 1.0 i386 [installed,local]
automatic2/now 1.0 i386 [installed,local]" apt list '?automatic'