From: Stefano Lattarini Date: Mon, 11 Jun 2012 16:52:38 +0000 (+0200) Subject: tests: fix spurious failures due to missing '$sleep' X-Git-Tag: v1.12.2~83^3 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c39549d0ddf3c1dfa998765559f99213e5aa155c;p=thirdparty%2Fautomake.git tests: fix spurious failures due to missing '$sleep' Revealed by failures on NetBSD 5.1. * t/subobj-clean-pr10697.sh: Call '$sleep' before modifying the files that should trigger an automatic remake. * t/subobj-clean-lt-pr10697.sh: Likewise. Signed-off-by: Stefano Lattarini --- diff --git a/t/subobj-clean-lt-pr10697.sh b/t/subobj-clean-lt-pr10697.sh index 95a732c3e..0d8e4d05e 100755 --- a/t/subobj-clean-lt-pr10697.sh +++ b/t/subobj-clean-lt-pr10697.sh @@ -134,6 +134,8 @@ $MAKE test -f sub1/a.$OBJEXT test -f sub2/d.$OBJEXT +$sleep + mv -f sub2/d.c sub2/x.c rm -f sub1/a.c diff --git a/t/subobj-clean-pr10697.sh b/t/subobj-clean-pr10697.sh index 3b51cf1d2..7ed07d643 100755 --- a/t/subobj-clean-pr10697.sh +++ b/t/subobj-clean-pr10697.sh @@ -129,6 +129,8 @@ $MAKE test -f sub1/a.$OBJEXT test -f sub2/d.$OBJEXT +$sleep + mv -f sub2/d.c sub2/x.c rm -f sub1/a.c