[OE-core] [PATCH] gzip: add ptest

Denys Zagorui denys.zagorui at gmail.com
Sun Mar 12 20:02:28 UTC 2017


Denys Zagorui
GlobalLogic
Kyiv, 03038, Protasov Business Park, N.Grinchenka, 2/1
M +380.67.317.30.93
www.globallogic.com

http://www.globallogic.com/email_disclaimer.txt

11 марта 2017 12:52 пользователь "Denys Zagorui" <denys.zagorui at gmail.com>
написал:

> Hello, thanks for reply.
> I figure out that 'zless' from gzip 1.8 don,t work with 'less' from
> busybox. It's because 'zless' tries to verify 'less' version invoke it with
> key -V, and 'less' from busybox don't understand this key, so test
> 'help-version' fails. So when i remove version verification from 'zless'
> it's works fine.
> 'zdiff' test also fails, because 'diff' from busybox has another output
> then 'diff' from diffutils package, so patch zdiff test (add version
> verification), if 'diff' from busybox i check one output, if from diffutils
> another.
>
>
>
> 10 марта 2017 09:10 пользователь "Patrick Ohly" <patrick.ohly at intel.com>
> написал:
>
>> On Thu, 2017-03-09 at 22:48 +0200, Denys Zagorui wrote:
>> > tests don't work with 'diff' and 'less' utils from busybox
>>
>> I don't think that depending on diff and less is the right solution for
>> that problem, because then enabling testing will change the system that
>> is meant to be tested.
>>
>> For example, suppose that the real system only has busybox and busybox
>> diff needs to work. That version of diff cannot be tested anymore with
>> IMAGE_FEATURES += "ptest-pkgs" because that will pull in gzip-ptest,
>> which then overrides the busybox diff.
>>
>> Perhaps the tests can be fixed to work also with busybox, or the tests
>> can detect busybox and skip the part that depends on real diff and less?
>>
>> --
>> Best Regards, Patrick Ohly
>>
>> The content of this message is my personal opinion only and although
>> I am an employee of Intel, the statements I make here in no way
>> represent Intel's position on the issue, nor am I authorized to speak
>> on behalf of Intel on this matter.
>>
>>
>>
>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20170312/cf213a0e/attachment-0002.html>


More information about the Openembedded-core mailing list