fix for bug#39861

This commit is contained in:
Serge Kozlov 2008-11-15 00:44:56 +03:00
parent f51cfbbc26
commit bf9d1b565c

View file

@ -3462,7 +3462,7 @@ sub check_expected_crash_and_restart {
# sleep a little and try again, thus allowing the
# test script to control when the server should start
# up again
my $last_line= mtr_lastlinefromfile($expect_file);
my $last_line= mtr_lastlinesfromfile($expect_file, 1);
if ($last_line =~ /^wait/ )
{
mtr_verbose("Test says wait before restart");