Re: [PATCH 2/2] private-output: remove superfluous line breaks in ListSingleVersion()
On 29.08.2014 18:05, Andreas Oberritter wrote:
> Hello David,
>
> On 29.08.2014 12:42, David Kalnischkies wrote:
>> You seem to have a usecase, and we are always interested in collecting
>> them in our testcases so we don't break them (too often ;) ). It would
>> therefore be fabulous if you could add one you can take inspiration
>> from/add it to test/integration/test-apt-cli-list and include it in your
>> patch. As you will see, they are simple shellscripts, so I hope you can
>> manage, otherwise just describe your usecase some more so we can create
>> one together.
>
> no problem, I'll add my test cases and send a v2 for patch 2/2. You may
> want to apply patch 1/2 in the meantime to fix the regression.
Unfortunately, I have problems running the test suite on my machine. So
here's the test case I wanted to add to the bottom of "test-apt-cli-list":
# test format strings for machine parseable output
testequal "baz - 0.1 - 2.0" apt list -o quiet=2 \
-o APT::Cmd::use-format=true \
-o APT::Cmd::format="\${Package} - \${installed:Version} - \${candidate:Version}"
Feel free to include it.
Regards,
Andreas
Reply to: