Problem with test applet

Bernhard Fischer rep.dot.nop at gmail.com
Mon Jun 11 16:00:01 UTC 2007


On Mon, Jun 11, 2007 at 05:39:16PM +0200, Bernhard Fischer wrote:
>On Mon, Jun 11, 2007 at 03:31:24PM +0200, Milos Wimmer wrote:
>>
>>  Hello,
>>
>>I found another bug in busybox-1.6.0 test applet.
>>
>>./busybox-1.5.0 sh
>>$ GMT="-u"
>>$ [ "$GMT" = "-u" ] && echo ok
>>ok
>>
>>
>>./busybox-1.6.0 sh
>>$ GMT="-u"
>>$ [ "$GMT" = "-u" ] && echo ok
>>sh: -u: unknown operand
>
>hmz. The NOT operator check is completely wrong there. testing a fix..

Can you please try the attached patch?

We really need some testsuite/test tests.. :-(
Any volunteers / takers?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fixup-test.02.diff
Type: text/x-diff
Size: 639 bytes
Desc: not available
Url : http://lists.busybox.net/pipermail/busybox/attachments/20070611/10d27b2a/attachment-0002.bin 


More information about the busybox mailing list