2006-12-06 Stepan Kasal * tests/tools.at (autom4te preselections): Use `find -newer'; remove one of the sleeps. Index: tests/tools.at =================================================================== RCS file: /cvsroot/autoconf/autoconf/tests/tools.at,v retrieving revision 1.96 diff -u -r1.96 tools.at --- tests/tools.at 5 Dec 2006 21:08:50 -0000 1.96 +++ tests/tools.at 6 Dec 2006 14:26:20 -0000 @@ -863,14 +863,13 @@ # If this test fails due to missing entries in lib/autom4te.in, then # comparing the old and new requests is a good place to start debugging: cp autom4te.cache/requests old-requests -$sleep # need to make sure the stamp file is strictly newer. echo newer >newer $sleep # if `configure' is regenerated, we want it to be strictly newer, # to catch the error consistently. AT_CHECK([aclocal], [], [], [ignore]) AT_CHECK([automake --no-force --add-missing], [], [], [ignore]) AT_CHECK([autoconf]) -AT_CHECK([set x `ls -1t newer configure`; test "$2" = newer || +AT_CHECK([test "`find configure -newer newer`" = "" || { diff old-requests autom4te.cache/requests; exit 1; }]) AT_CLEANUP