minor fix to mtr_process.pl

mysql-test/lib/mtr_process.pl:
  print extra message _once_ every 60 seconds
This commit is contained in:
unknown 2006-11-30 13:16:12 +01:00
parent 3b1abddb25
commit 5af42c1b25

View File

@ -1053,7 +1053,7 @@ sub sleep_until_file_created ($$$) {
# Print extra message every 60 seconds
my $seconds= ($loop * $sleeptime) / 1000;
if ( $seconds > 1 and int($seconds) % 60 == 0 )
if ( $seconds > 1 and int($seconds * 10) % 600 == 0 )
{
my $left= $timeout - $seconds;
mtr_warning("Waited $seconds seconds for $pidfile to be created, " .