diff options
| author | Julian Andres Klode <julian.klode@canonical.com> | 2024-04-29 14:56:41 +0200 |
|---|---|---|
| committer | Julian Andres Klode <julian.klode@canonical.com> | 2024-04-29 14:56:41 +0200 |
| commit | 9a29aa8f61530aca8a46d0c6de08ea78c6e57f9e (patch) | |
| tree | faad88f9efe8093727d9fe2e7b2e7aa183d64c17 /test/integration | |
| parent | edfbc3869361f709d70794a794199ac2076ea9f1 (diff) | |
showsrc: Support querying src:name
This has the same meaning as --only-source name
Diffstat (limited to 'test/integration')
| -rwxr-xr-x | test/integration/test-apt-cache-showsrc | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/integration/test-apt-cache-showsrc b/test/integration/test-apt-cache-showsrc index d3f61d972..0f0e21d35 100755 --- a/test/integration/test-apt-cache-showsrc +++ b/test/integration/test-apt-cache-showsrc @@ -29,3 +29,9 @@ testsuccess grep "Package: unrelated" output.txt aptcache showsrc --only-source foo > output.txt testsuccess grep "Package: foo" output.txt testfailure grep "Package: unrelated" output.txt + +# by default apt-cache showsrc will look into "binary" and "source" names +# and show all matches +aptcache showsrc src:foo > output.txt +testsuccess grep "Package: foo" output.txt +testfailure grep "Package: unrelated" output.txt |
