On Tuesday 14 June 2011, Stefano Lattarini wrote: > [adding automake-patches on CC:] > > Reference to original thread(s), mostly duplicated: > <http://lists.gnu.org/archive/html/bug-coreutils/2011-06/msg00051.html> > <http://lists.gnu.org/archive/html/bug-autoconf/2011-06/msg00002.html> > > Reference to last relevant message there: > <http://lists.gnu.org/archive/html/bug-autoconf/2011-06/msg00018.html> > <http://lists.gnu.org/archive/html/bug-coreutils/2011-06/msg00082.html> > > On Tuesday 14 June 2011, Eric Blake wrote: > > On 06/13/2011 04:29 PM, Stefano Lattarini wrote: > > > If this work, then using a bare `>&2' *at the end of TESTS_ENVIRONMENT* > > > and > > > > You meant a bare `9>&2', > > > Yes, sorry. > > > but yes that does seem to be workable for what we want! > > > > > *without a following semicolon* might give a portable workaround, as if > > > I'm > > > not mistaken POSIX mandates that redirections can be specified anywere on > > > the command line, and are to be evaluated from left to right. > > > > Yes, all shells support these as equivalent: > > > > 9>&2 sh k > > sh k 9>&2 > > > > > > > > UPDATE: Yes, it seems to work. I'll add a testcase to the 'maint' branch > > > in > > > case you and Jim decide to go with this solution (and you can confirm > > > that it > > > really works). > > > > Cool! Definitely worth documenting in the automake manual, as owner of > > TESTS_ENVIRONMENT and as a client of init.sh functionality, as well as > > your proposed automake testcase addition to ensure we don't break it. > > > > I'll then push the attached patch to automake master soonish (by tomorrow > or so) if there is no objection by then. > I've pushed the patch now.
Regards, Stefano