diff options
author | Bjorn Munch <bjorn.munch@oracle.com> | 2011-09-14 15:32:19 +0200 |
---|---|---|
committer | Bjorn Munch <bjorn.munch@oracle.com> | 2011-09-14 15:32:19 +0200 |
commit | 69e76a168b9311f79f4f5ab6b942bf6048a7241f (patch) | |
tree | aed11ff5a4343351d6a85228423f220ea439d39f /mysql-test/mysql-test-run.pl | |
parent | a238e6ada252aaf8c0f9f146ec46c15ea13309e7 (diff) | |
download | mariadb-git-69e76a168b9311f79f4f5ab6b942bf6048a7241f.tar.gz |
Bug #12939555 MTR FINDS ALREADY COMPRESSED CORE WHEN LOOKING FOR CORE FILES AFTER RETRIED TEST
Just check that core file name does not end in .gz
Not a problem for Windows, as we check for files *ending* in .dmp
Diffstat (limited to 'mysql-test/mysql-test-run.pl')
-rwxr-xr-x | mysql-test/mysql-test-run.pl | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/mysql-test/mysql-test-run.pl b/mysql-test/mysql-test-run.pl index 451b877f9a8..1e46ac79d95 100755 --- a/mysql-test/mysql-test-run.pl +++ b/mysql-test/mysql-test-run.pl @@ -653,8 +653,9 @@ sub run_test_server ($$$) { my $core_file= $File::Find::name; my $core_name= basename($core_file); - if ($core_name =~ /^core/ or # Starting with core - (IS_WINDOWS and $core_name =~ /\.dmp$/)){ + # Name beginning with core, not ending in .gz + if (($core_name =~ /^core/ and $core_name !~ /\.gz$/) + or (IS_WINDOWS and $core_name =~ /\.dmp$/)){ # Ending with .dmp mtr_report(" - found '$core_name'", "($num_saved_cores/$opt_max_save_core)"); |