mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
Bug #43570 MTR2 hangs when test fails and named pipe created
Hangs when trying to copy the pipe Amend copytree() to only copy regular files
This commit is contained in:
@ -164,6 +164,9 @@ sub copytree {
|
|||||||
copytree("$from_dir/$_", "$to_dir/$_");
|
copytree("$from_dir/$_", "$to_dir/$_");
|
||||||
next;
|
next;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# Only copy plain files
|
||||||
|
next unless -f "$from_dir/$_";
|
||||||
copy("$from_dir/$_", "$to_dir/$_");
|
copy("$from_dir/$_", "$to_dir/$_");
|
||||||
}
|
}
|
||||||
closedir(DIR);
|
closedir(DIR);
|
||||||
|
Reference in New Issue
Block a user