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:
parent
ba70e8eac7
commit
c3a43bcaa6
@ -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);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user