hust test for noMMU
Denys Vlasenko
vda.linux at googlemail.com
Sat May 23 14:52:24 UTC 2009
On Friday 22 May 2009 00:05, Mike Frysinger wrote:
> On Thursday 21 May 2009 08:39:07 Michal Simek wrote:
> > Hi All,
> >
> > I am doing some tests with hush because I would like to run LTP tests on
> > noMMU Microblaze kernel (and use runltp script). I copied all hush tests to
> > rootfs and run them but I am getting this error.
> >
> > /test/hush_test # ./run-all
> > No ./hush - creating a link to ../../busybox
> > ln: hush: File exists
> > sh: hush.c:5855
> > sh: syntax error: unexpected )
>
> hush currently doesnt support case statements nested in subshells:
> $ hush -c '(case m in m) :;; esac)'
> the parser needs a state machine tweak to handle the case syntax. fwiw, bash
> has had many bugs along these same lines :).
Fix is attached. It also fixes
case esac in "esac") echo OK;; esac
case. :)
--
vda
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 9.patch
Type: text/x-diff
Size: 5001 bytes
Desc: not available
URL: <http://lists.busybox.net/pipermail/busybox/attachments/20090523/bb1a9e8a/attachment.bin>
More information about the busybox
mailing list