svn commit: trunk/uClibc/test
Hans-Christian Egtvedt
hans-christian.egtvedt at atmel.com
Thu Oct 2 13:58:18 UTC 2008
On Thu, 2 Oct 2008 15:34:19 +0200
Hans-Christian Egtvedt <hans-christian.egtvedt at atmel.com> wrote:
> On Thu, 2 Oct 2008 05:54:44 -0700 (PDT)
> egtvedt at uclibc.org wrote:
<snipp>
> > Use more generic redirecting of output in the test suite
> >
> > This patch replaces the "&> file" with "> file 2>> file". The latter
> > is compatible with Busybox ash shell, which makes it easier to run
> > the test suite on target.
> >
>
> Hmmm, patch is wrong, stderr is not added to output file.
>
> The problem still persists, could we remove the bash specific usage of
> io redirection?
>
> Test case:
> ~ > (echo out1; echo err >&2; echo out2) 2>&1 > foo
> ~ > cat foo
> out1
> err
> out2
> ~ >
>
> Will this do?
> (echo out1; echo err >&2; echo out2) >> foo 2>> foo
>
But this will do (-:
(echo out1; echo err >&2; echo out2) > foo 2>&1
I'll fix my bad commit.
<snipp>
--
Best regards,
Hans-Christian Egtvedt
More information about the uClibc-cvs
mailing list