In Split tool, the copy file actions only need tocopy file content but not need to copy file metadata.copy2() copies the file metadata that causes splitunit test failed under edk2-basetools CI environment.So this patch changes the call of copy2() to copyfile().Signed-off-by: Bob Feng <bob.c.feng@...>Cc: Liming Gao <gaoliming@...>Cc: Yuwei Chen <yuwei.chen@...>--- BaseTools/Source/Python/Split/Split.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)
© 2022 Groups.io