2010-03-02 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
+ Fix `autom4te cache creation' testsuite failure on FreeBSD.
+ * tests/tools.at (autom4te cache creation): Normalize exit
+ status of failed redirection to 1, may be 2 with FreeBSD sh.
+ * THANKS: Update.
+ Report by Václav Haisman.
+
Fix Autotest tracing of shell pipelines for FreeBSD sh.
* lib/autotest/general.m4 (_AT_DECIDE_TRACEABLE): Do not trace
commands that contain [^|]|[^|], a likely shell pipeline.
Tony Leneis tony@plaza.ds.adp.com
Toshio Kuratomi ?
Uwe Seimet us@orbacus.com
+Václav Haisman v.haisman@sh.cvut.cz
Vance Shipley vances@motivity.ca
Viktor Dukhovni viktor@anaheim.esm.com
Ville Karaila karaila@iki.fi
]])
# Do not try this when we are root or on systems without permissions.
-AT_CHECK([: > sub/some-file && exit 77], 1, [ignore], [ignore])
+# A failed redirection may cause a status of 2 with FreeBSD sh.
+AT_CHECK([(: > sub/some-file) || exit 1 && exit 77], 1, [ignore], [ignore])
# Failure to create cache directory.
AT_CHECK_AUTOCONF([], [1], [ignore], [stderr])