Hi! Somehow, I failed to commit the patch in [1] as shown in the mail. The last hunk went MIA [2]. Fixing up with the attached patch now.
Cheers, Peter [1] http://lists.gnu.org/archive/html/libtool-patches/2005-07/msg00113.html [2] http://git.savannah.gnu.org/cgit/libtool.git/commit/?id=26b55149eec554d0c3a605b3556eaa5e5b7fa392 2009-01-14 Peter Rosin <[email protected]> Fix flakey mdemo-dryrun test on MSYS (again!) * tests/mdemo-dryrun.test: ls -l in MSYS sometimes shows year, not time, for really fresh files. Add sleep 1 call at yet another strategic position. Makes the test pass reliably for MSYS/MinGW.
diff --git a/tests/mdemo-dryrun.test b/tests/mdemo-dryrun.test index 8bef7bc..678891d 100755 --- a/tests/mdemo-dryrun.test +++ b/tests/mdemo-dryrun.test @@ -99,6 +99,8 @@ func_make install func_msg "Running $MAKE uninstall in ../mdemo (dry run)" # Libtool does not uninstall the programs, remove them first rm -f "$prefix/bin/mdemo$EXEEXT" "$prefix/bin/mdemo_static$EXEEXT" +# ls -l in MSYS sometimes shows year, not time, for really fresh files. +sleep 1 ls -l . $objdir | grep -v total > $before ls -lR $prefix | grep -v total >> $before force_dry_run=: $MAKE uninstall 1>&2 || exit $?
