mirror of
https://github.com/MariaDB/server.git
synced 2025-08-01 03:47:19 +03:00
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
This commit is contained in:
@ -653,8 +653,9 @@ sub run_test_server ($$$) {
|
|||||||
my $core_file= $File::Find::name;
|
my $core_file= $File::Find::name;
|
||||||
my $core_name= basename($core_file);
|
my $core_name= basename($core_file);
|
||||||
|
|
||||||
if ($core_name =~ /^core/ or # Starting with core
|
# Name beginning with core, not ending in .gz
|
||||||
(IS_WINDOWS and $core_name =~ /\.dmp$/)){
|
if (($core_name =~ /^core/ and $core_name !~ /\.gz$/)
|
||||||
|
or (IS_WINDOWS and $core_name =~ /\.dmp$/)){
|
||||||
# Ending with .dmp
|
# Ending with .dmp
|
||||||
mtr_report(" - found '$core_name'",
|
mtr_report(" - found '$core_name'",
|
||||||
"($num_saved_cores/$opt_max_save_core)");
|
"($num_saved_cores/$opt_max_save_core)");
|
||||||
|
Reference in New Issue
Block a user