[Bug] test applet does not work as before

Denis Vlasenko vda.linux at googlemail.com
Sun Jul 1 19:50:57 UTC 2007


On Sunday 01 July 2007 21:07, Harald Küthe wrote:
> Hello list, 
> 
> we discovered that the busybox 1.6.0 test applet does not behave as before (and as e.g. a debian system)
> 
> Debian 3.1:
> if [ ! "a" = "a" ]; then echo "unequal"; else echo "equal"; fi
> equal
> 
> busybox-1.5.1
> / # if /bin/busybox-1.5.1 [ ! "a" = "a" ]; then echo "unequal"; else echo "equal"; fi
> equal
> 
> BusyBox v1.6.0 (2007-06-24 23:06:12 CEST) Built-in shell (ash):
> / # if [ ! "a" = "a" ]; then echo "unequal"; else echo "equal"; fi
> unequal

Fixed in 1.6.1:

# /usr/srcdevel/bbox/fix161/t/busybox-1.6.1/busybox ash
/.1/usr/srcdevel/bbox/fix161/t/busybox-1.6.1 # if [ ! "a" = "a" ]; then echo "unequal"; else echo "equal"; fi
equal

--
vda



More information about the busybox mailing list