Commit 71eff9f1 authored by unknown's avatar unknown

Merge bk-internal:/home/bk/mysql-5.0-maint

into  pilot.(none):/data/msvensson/mysql/mysql-5.0-maint


mysql-test/mysql-test-run.pl:
  Auto merged
mysql-test/t/mysqltest.test:
  Auto merged
parents 5941479e 8d04d7bb
...@@ -3318,9 +3318,12 @@ sub find_testcase_skipped_reason($) ...@@ -3318,9 +3318,12 @@ sub find_testcase_skipped_reason($)
{ {
my ($tinfo)= @_; my ($tinfo)= @_;
# Open mysqltest-time # Set default message
my $F= IO::File->new($path_timefile) or $tinfo->{'comment'}= "Detected by testcase(no log file)";
mtr_error("can't open file \"$path_timefile\": $!");
# Open mysqltest-time(the mysqltest log file)
my $F= IO::File->new($path_timefile)
or return;
my $reason; my $reason;
while ( my $line= <$F> ) while ( my $line= <$F> )
...@@ -3373,8 +3376,8 @@ sub analyze_testcase_failure($) ...@@ -3373,8 +3376,8 @@ sub analyze_testcase_failure($)
my ($tinfo)= @_; my ($tinfo)= @_;
# Open mysqltest.log # Open mysqltest.log
my $F= IO::File->new($path_timefile) or my $F= IO::File->new($path_timefile)
mtr_error("can't open file \"$path_timefile\": $!"); or return;
while ( my $line= <$F> ) while ( my $line= <$F> )
{ {
......
...@@ -339,6 +339,7 @@ here is the sourced script ...@@ -339,6 +339,7 @@ here is the sourced script
In loop In loop
here is the sourced script here is the sourced script
here is the sourced script
mysqltest: At line 1: Missing argument to sleep mysqltest: At line 1: Missing argument to sleep
mysqltest: At line 1: Missing argument to real_sleep mysqltest: At line 1: Missing argument to real_sleep
mysqltest: At line 1: Invalid argument to sleep "abc" mysqltest: At line 1: Invalid argument to sleep "abc"
......
...@@ -837,6 +837,10 @@ while ($num) ...@@ -837,6 +837,10 @@ while ($num)
} }
--enable_abort_on_error --enable_abort_on_error
--enable_query_log --enable_query_log
# Test source $variable/<filename>
--source $MYSQLTEST_VARDIR/tmp/sourced.inc
--remove_file $MYSQLTEST_VARDIR/tmp/sourced.inc --remove_file $MYSQLTEST_VARDIR/tmp/sourced.inc
# ---------------------------------------------------------------------------- # ----------------------------------------------------------------------------
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment