2008-01-28 Eric Blake <ebb9@byu.net>
+ Minor testsuite improvements.
+ * lib/autotest/general.m4 (AT_INIT) <PREPARE_TESTS>: Use fewer
+ forks when sanitizing PATH. Always output machine information,
+ not just when atconfig was located.
+
Add 'testsuite -C dir'.
* lib/autotest/general.m4 (_AT_ARG_OPTION): Move missing argument
detection...
# builtins' (eg., cd) stderr directly: Ultrix's sh hates that.
at_new_path=
_AS_PATH_WALK([$at_path],
-[as_dir=`(cd "$as_dir" && pwd) 2>/dev/null`
-test -d "$as_dir" || continue
+[test -d "$as_dir" || continue
+case $as_dir in
+ [[\\/]]* | ?:[[\\/]]* ) ;;
+ * ) as_dir=`(cd "$as_dir" && pwd) 2>/dev/null` ;;
+esac
case $PATH_SEPARATOR$at_new_path$PATH_SEPARATOR in
*$PATH_SEPARATOR$as_dir$PATH_SEPARATOR*) ;;
$PATH_SEPARATOR$PATH_SEPARATOR) at_new_path=$as_dir ;;
echo
done
- AS_UNAME
- echo
fi
+ AS_UNAME
+ echo
+
# Contents of the config files.
for at_file in atconfig atlocal
do