Browse Source

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
pull/374/head
Bjorn Munch 17 years ago
parent
commit
c3a43bcaa6
  1. 3
      mysql-test/lib/My/File/Path.pm

3
mysql-test/lib/My/File/Path.pm

@ -164,6 +164,9 @@ sub copytree {
copytree("$from_dir/$_", "$to_dir/$_");
next;
}
# Only copy plain files
next unless -f "$from_dir/$_";
copy("$from_dir/$_", "$to_dir/$_");
}
closedir(DIR);

Loading…
Cancel
Save