summaryrefslogtreecommitdiff
path: root/mysql-test/mysql-test-run.pl
diff options
context:
space:
mode:
authorSergei Golubchik <sergii@pisem.net>2013-02-28 19:00:58 +0100
committerSergei Golubchik <sergii@pisem.net>2013-02-28 19:00:58 +0100
commit5dec570d7c1e2a39b67503a90d2d7905ac4dbb44 (patch)
treed206f4c8848a50899d8d0656e8c8212189365ace /mysql-test/mysql-test-run.pl
parent5138bf4238d4a8850ee364a3adf10dc2687af67c (diff)
parent027e34e13b8d0baed51e26be8d4ffd86d9b3b041 (diff)
downloadmariadb-git-5dec570d7c1e2a39b67503a90d2d7905ac4dbb44.tar.gz
5.1 -> 5.2 merge
Diffstat (limited to 'mysql-test/mysql-test-run.pl')
-rwxr-xr-xmysql-test/mysql-test-run.pl5
1 files changed, 5 insertions, 0 deletions
diff --git a/mysql-test/mysql-test-run.pl b/mysql-test/mysql-test-run.pl
index 8399c41b67b..60253a06276 100755
--- a/mysql-test/mysql-test-run.pl
+++ b/mysql-test/mysql-test-run.pl
@@ -664,6 +664,10 @@ sub run_test_server ($$$) {
else {
mtr_report("\nRetrying test $tname, ".
"attempt($retries/$opt_retry)...\n");
+ #saving the log file as filename.failed in case of retry
+ my $worker_logdir= $result->{savedir};
+ my $log_file_name=dirname($worker_logdir)."/".$result->{shortname}.".log";
+ rename $log_file_name,$log_file_name.".failed";
delete($result->{result});
$result->{retries}= $retries+1;
$result->write_test($sock, 'TESTCASE');
@@ -4465,6 +4469,7 @@ sub extract_warning_lines ($) {
qr|Access denied for user|,
qr|Aborted connection|,
qr|table.*is full|,
+ qr|setrlimit could not change the size of core files to 'infinity';|,
);
my $matched_lines= [];