2006-09-29 Stepan Kasal * doc/autoconf.texi (Writing testsuite.at): Remove the limitation that the first parameter of AT_CHECK cannot contain redirection. * tests/local.at (AT_CHECK_M4): Fix for cases when the past parameter is `stderr' or `experr'. Index: doc/autoconf.texi =================================================================== RCS file: /cvsroot/autoconf/autoconf/doc/autoconf.texi,v retrieving revision 1.1088 diff -u -r1.1088 autoconf.texi --- doc/autoconf.texi 27 Sep 2006 16:47:08 -0000 1.1088 +++ doc/autoconf.texi 29 Sep 2006 13:40:41 -0000 @@ -18068,8 +18068,12 @@ fails, run shell commands @var{run-if-fail} or, if this test passes, run shell commands @var{run-if-pass}. -The @var{commands} @emph{must not} redirect the standard output, nor the -standard error. address@hidden Previously, we had this: address@hidden The @var{commands} @emph{must not} redirect the standard output, nor the address@hidden standard error. address@hidden to prevent trigerring the double redirect bug on Ultrix, see address@hidden `File Descriptors'. This was too restricting, so we dropped the address@hidden limitation. The obvious workaround it to use a working shell there. If @var{status}, or @var{stdout}, or @var{stderr} is @samp{ignore}, then the corresponding value is not checked. Index: tests/local.at =================================================================== RCS file: /cvsroot/autoconf/autoconf/tests/local.at,v retrieving revision 1.35 diff -u -r1.35 local.at --- tests/local.at 11 Sep 2006 16:42:57 -0000 1.35 +++ tests/local.at 29 Sep 2006 13:40:42 -0000 @@ -106,7 +106,7 @@ s/^autom4te: [^ ]*m4 /autom4te: m4 / s/^autom4te: [^ ]*m4\.exe /autom4te: m4 / s/ (E[A-Z]*)$// - ' stderr]], [0],[$4])]) + ' stderr >&2]], [0], [], [$4])]) ]) # AT_CHECK_AUTOM4TE(FLAGS, [EXIT-STATUS = 0], STDOUT, STDERR)