summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorJulian Andres Klode <julian.klode@canonical.com>2019-11-26 11:56:28 +0100
committerJulian Andres Klode <julian.klode@canonical.com>2019-11-26 11:56:28 +0100
commit96f795bce665a1907b885bd2d57d6ab22b0a4199 (patch)
tree00a6c3bd1faaf8cc90f3114a26e37dddea51fdd8 /test
parent94b185bb738e063bcc387e31b39dcd041f283766 (diff)
patterns: Add ?all-versions
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 291aad1d4..f726d0576 100755
--- a/test/integration/test-apt-patterns
+++ b/test/integration/test-apt-patterns
@@ -121,6 +121,9 @@ not-obsolete/unstable 2.0 i386 [upgradable from: 1.0]
N: There is 1 additional version. Please use the '-a' switch to see it" apt list '?narrow(?version(^1\.0$),?name(not-obsolete))'
+testsuccessequal "Listing...
+foreign/unstable 2.0 amd64
+not-obsolete/unstable 2.0 i386 [upgradable from: 1.0]" apt list '?not(?all-versions(?version(^1)))'
msgmsg "Package patterns"