ash test suite

Natanael Copa natanael.copa at gmail.com
Sat Feb 24 16:51:08 PST 2007


On Sat, 24 Feb 2007 13:31:34 +0100
Denis Vlasenko <vda.linux at googlemail.com> wrote:

> Guys,
> 
> On Thursday 01 February 2007 14:23, Yuwen Dai wrote:
> > On 1/31/07, walter harms <wharms at bfs.de> wrote:
> > >
> > > your are right,
> > > note:  have removed the original diff for a 'diff -y | less' to see more
> > > clearly the differences.
> > > take also a look at the readme inside the ash* tests.
> > 
> > 
> > I see ash-* directories as well as test files in the same directory. While
> > in Bash testsuite, all test files are in same level, no subdirectories.  Did
> > you intend to put all all the test files into subdirectories?
> 
> Can you send me the testsuite?
> 
> If it is not polished, send it as-is anyway.

yes. would be nice to have it in svn. I know some things to test that i
know will fail. For example:

function foo() {
}

[ "yes" || "" ] && echo hello

[[ "yes" && "yes" ]] && echo hello

I dont care so much about "function", but I could probalby reduce
my bash->ash patches with 50% if test could do [ ... && ... ]

(im patching bash scripts to make them run on busybox ash)

There are some issues with arrays too but I expect that to be
non-trivial to fix in bb ash.



More information about the busybox mailing list