summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorJohannes Schauer Marin Rodrigues <josch@mister-muffin.de>2021-12-26 16:29:59 +0100
committerJohannes Schauer Marin Rodrigues <josch@mister-muffin.de>2021-12-26 22:04:21 +0100
commited282548bc4b8f96ac531c9f73b42d968eadea98 (patch)
tree136608db9a6f62b13cb39f0ad872e9e56cbfe985 /test
parent2662f6f255a2f1fee25632dc7666d4153bf5248c (diff)
add pattern to select packages by codename (closes: #1002646)
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'