]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
Fix flakey mdemo-dryrun test on MSYS (again!)
authorPeter Rosin <peda@lysator.liu.se>
Wed, 14 Jan 2009 08:04:40 +0000 (09:04 +0100)
committerPeter Rosin <peda@lysator.liu.se>
Wed, 14 Jan 2009 08:04:40 +0000 (09:04 +0100)
* 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.

Signed-off-by: Peter Rosin <peda@lysator.liu.se>
ChangeLog
tests/mdemo-dryrun.test

index 9ba522dd196982243dc998da4969f72528c5b871..3f89b44e5484fbc05089e10246513fc04cf2c16e 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2009-01-14  Peter Rosin  <peda@lysator.liu.se>
+
+       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.
+
 2008-12-19  Akim Demaille  <demaille@gostai.com>
 
        Fix copyright notice.
index 8bef7bc51f0fadcf815aa0cd4928058ff9b95892..678891de1c1005e7555fcda306e9c2a488cddcb0 100755 (executable)
@@ -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 $?