On Mon, Apr 15, 2013 at 12:42:57PM -0400, Sean McGovern wrote:
> On Monday, April 15, 2013, Diego Biurrun <[email protected]> wrote:
> > fd 3 is redirected in fate-run.sh and that redirection is assumed to
> > remain in place by other regression test scripts called from there.
> > However, POSIX says[1] that it is undefined if such fds remain open
> > or not when the shell invokes other utilities.
> >
> > [1]
> http://pubs.opengroup.org/onlinepubs/9699919799/utilities/V3_chap02.html#exec
> > ---
> >  tests/regression-funcs.sh |    2 ++
> >  1 file changed, 2 insertions(+)
> 
> Confirming this works on Solaris with /bin/shared and forced bash.

No, this doesn't work as intended, one fd is lost.  We will have to save
and restore fds, force bash or eliminate the *-regression.sh scripts.

Diego
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to