[BusyBox] Hush testing...

Edmund Troche edmund at troche.org
Sat Apr 28 07:35:25 UTC 2001


"Richard A. Smith" wrote:

> On Fri, 27 Apr 2001 09:05:40 -0700, Larry Doolittle wrote:
>
> >  1. discover more bugs
> >  2. tell me which of those bugs are most important to you
>
> I tried hush.. The pcmcia configure scripts use all kinds of shell
> stuff so they require a lot.  Currently I have to use Vod's ash
> applet.
>
> Right off the bat the hush appears to choke on the [ ] construct.
>
> Fex.  if [ -r ./shared ] ; then . ./shared; else . /etc/pcmcia/shared
> ; fi
>
> gives a
>
> sh: [: No such file or directory
> sh: usage: No such file or directory
>
> --
> Richard A. Smith                         Bitworks, Inc.
> rsmith at bitworks.com               501.846.5777
> Sr. Design Engineer        http://www.bitworks.com
>
> _______________________________________________
> busybox mailing list
> busybox at busybox.net
> http://busybox.net/mailman/listinfo/busybox

Actually, I just checked and Linux does the same thing, /usr/bin/[ is a
soft link to test. You may have to do the same thing under Busybox.

Edmund Troche






More information about the busybox mailing list