diff options
author | Julian Andres Klode <julian.klode@canonical.com> | 2019-08-21 22:13:27 +0200 |
---|---|---|
committer | Julian Andres Klode <julian.klode@canonical.com> | 2019-11-25 11:32:19 +0100 |
commit | 8428114608627fe0a08dcf1589931f6db025f0b4 (patch) | |
tree | ef9b08a5ead347d47418046001f5f7d2b4aa09f3 /test/integration | |
parent | 887b07aa284af75516fbf54e3db88acbf7e51b0c (diff) |
patterns: Add ?version
Diffstat (limited to 'test/integration')
-rwxr-xr-x | test/integration/test-apt-patterns | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/integration/test-apt-patterns b/test/integration/test-apt-patterns index 92c76edd1..a78413011 100755 --- a/test/integration/test-apt-patterns +++ b/test/integration/test-apt-patterns @@ -161,6 +161,10 @@ testsuccessequal "Listing... 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 '?upgradable' +testsuccessequal "Listing... +foreign/unstable 2.0 amd64 +not-obsolete/unstable 2.0 i386 [upgradable from: 1.0]" apt list '?version(2.0)' + testsuccessequal "Package: does-not-exist State: not a real package (virtual) N: Can't select candidate version from package does-not-exist as it has no candidate |