<div dir="auto"><br><br><div data-smartmail="gmail_signature">Denys Zagorui<br>GlobalLogic<br>Kyiv, 03038, Protasov Business Park, N.Grinchenka, 2/1<br>M +380.67.317.30.93<br><a href="http://www.globallogic.com">www.globallogic.com</a><br><br><a href="http://www.globallogic.com/email_disclaimer.txt">http://www.globallogic.com/email_disclaimer.txt</a></div></div><div class="gmail_extra"><br><div class="gmail_quote">11 марта 2017 12:52 пользователь &quot;Denys Zagorui&quot; &lt;<a href="mailto:denys.zagorui@gmail.com">denys.zagorui@gmail.com</a>&gt; написал:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="auto">Hello, thanks for reply. <div dir="auto">I figure out that &#39;zless&#39; from gzip 1.8 don,t work with &#39;less&#39; from busybox. It&#39;s because &#39;zless&#39; tries to verify &#39;less&#39; version invoke it with key -V, and &#39;less&#39; from busybox don&#39;t understand this key, so test &#39;help-version&#39; fails. So when i remove version verification from &#39;zless&#39; it&#39;s works fine.</div><div dir="auto">&#39;zdiff&#39; test also fails, because &#39;diff&#39; from busybox has another output then &#39;diff&#39; from diffutils package, so patch zdiff test (add version verification), if &#39;diff&#39; from busybox i check one output, if from diffutils another.</div><div dir="auto"><br></div><div dir="auto"><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">10 марта 2017 09:10 пользователь &quot;Patrick Ohly&quot; &lt;<a href="mailto:patrick.ohly@intel.com" target="_blank">patrick.ohly@intel.com</a>&gt; написал:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Thu, 2017-03-09 at 22:48 +0200, Denys Zagorui wrote:<br>
&gt; tests don&#39;t work with &#39;diff&#39; and &#39;less&#39; utils from busybox<br>
<br>
I don&#39;t think that depending on diff and less is the right solution for<br>
that problem, because then enabling testing will change the system that<br>
is meant to be tested.<br>
<br>
For example, suppose that the real system only has busybox and busybox<br>
diff needs to work. That version of diff cannot be tested anymore with<br>
IMAGE_FEATURES += &quot;ptest-pkgs&quot; because that will pull in gzip-ptest,<br>
which then overrides the busybox diff.<br>
<br>
Perhaps the tests can be fixed to work also with busybox, or the tests<br>
can detect busybox and skip the part that depends on real diff and less?<br>
<br>
--<br>
Best Regards, Patrick Ohly<br>
<br>
The content of this message is my personal opinion only and although<br>
I am an employee of Intel, the statements I make here in no way<br>
represent Intel&#39;s position on the issue, nor am I authorized to speak<br>
on behalf of Intel on this matter.<br>
<br>
<br>
<br>
</blockquote></div></div>
</blockquote></div></div>