testsuite and "bashisms"

Michael Tokarev mjt at tls.msk.ru
Sun Nov 10 15:39:59 UTC 2013


10.11.2013 19:25, Michael Tokarev wrpte:
> Another question/issue with the testsuite.
> '
> The testsuite uses ${var/search/replace} construct
> heavily.  It is implemented in bash and in busybox
> ash, but not, for example, in dash, and it is not
> in POSIX either.
>
> So when the system /bin/sh does not implement this
> construct, los of tests fails like this:

Actually there are just 2 places which are trivial to fix,
and the following patch does just that.

Signed-off-by: Michael Tokarev <mjt at tls.msk.ru>

Thanks,

/mjt
-------------- next part --------------
A non-text attachment was scrubbed...
Name: testsuite-var-subst.diff
Type: text/x-patch
Size: 1074 bytes
Desc: not available
URL: <http://lists.busybox.net/pipermail/busybox/attachments/20131110/d2f429d9/attachment.bin>


More information about the busybox mailing list