hust test for noMMU

Michal Simek monstr at monstr.eu
Thu May 21 13:23:22 UTC 2009


John Williams wrote:
> Hi Michal,
> 
> Does hush have a debug mode you can enable with a #define?  msh does,
> and it is how I found I'd broken setjmp/longjmp in the revup to latest
> uClibc!

Yes, HUSH_DEBUG is there and I setup/enabled it but I haven't got any useful output.
longjump could be that issue because of goto.

If I understand correctly, msh is deprecated and we should use hush.

Michal

> 
> maybe it can help you figure out what's going on with hush.
> 
> John
> 
> 
> On Thu, May 21, 2009 at 9:04 AM, Michal Simek <monstr at monstr.eu> wrote:
>> Mike Frysinger wrote:
>>> On Thursday 21 May 2009 08:39:07 Michal Simek wrote:
>>>> 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
>>> the run-all test probably doesnt work itself in hush ;)
>> but on x86 works :-(
>>
>> I compiled it with the same .config as for Microblaze
>> [monstr at monstr busybox.git]$ cat .config | grep NOMMU
>> CONFIG_NOMMU=y
>>
>> But this could be wrong that's why will be great if someone can tested on any noMMU
>> system.
>>
>> BTW: Removing firts parenthesis failed on x86 too. :-(
>>
>> Michal
>>
>> [monstr at monstr hush_test]$ ls -la
>> total 1556
>> drwxrwxr-x 12 monstr monstr    4096 May 21 14:48 .
>> drwxrwxr-x  5 monstr monstr    4096 May 21 14:45 ..
>> -rwxrwxr-x  1 monstr monstr 1476728 May 21 14:45 busybox
>> lrwxrwxrwx  1 monstr monstr       7 May 21 14:47 hush -> busybox
>> ...
>>
>>
>> [monstr at monstr hush_test]$ ./hush
>> /tmp/4/busybox.git/shell/hush_test $ ps
>>  PID TTY          TIME CMD
>> 22700 pts/5    00:00:00 bash
>> 23976 pts/5    00:00:00 hush
>> 23977 pts/5    00:00:00 ps
>> /tmp/4/busybox.git/shell/hush_test $ ./run-all
>> hush-arith/arith.tests: fail
>> hush-bugs/and_or_and_backgrounding.tests: fail
>> hush-glob/glob1.tests: ok
>> hush-glob/glob_and_assign.tests: ok
>> hush-glob/glob_redir.tests: ok
>> hush-leak/leak_argv1.tests: ok
>> hush-misc/and-or.tests: ok
>> hush-misc/assignment1.tests: ok
>> hush-misc/break1.tests: ok
>> hush-misc/break2.tests: ok
>> hush-misc/break3.tests: ok
>> hush-misc/break4.tests: ok
>> hush-misc/break5.tests: ok
>> hush-misc/builtin1.tests: ok
>> hush-misc/case1.tests: ok
>>
>>
>>> -mike
>>
>> --
>> Michal Simek, Ing. (M.Eng)
>> w: www.monstr.eu p: +42-0-721842854
>>
> 
> 
> 


-- 
Michal Simek, Ing. (M.Eng)
w: www.monstr.eu p: +42-0-721842854


More information about the busybox mailing list