From 4cecc6ca7d31c65d00cc2e8230a1905e91aa9fa4 Mon Sep 17 00:00:00 2001 From: Alamy Liu Date: Fri, 5 Mar 2021 09:59:36 -0800 Subject: [PATCH] Fix typo: 'copy' -> 'xcopy' Signed-off-by: Alamy Liu --- src/mbed_os_tools/test/host_tests_plugins/module_copy_shell.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mbed_os_tools/test/host_tests_plugins/module_copy_shell.py b/src/mbed_os_tools/test/host_tests_plugins/module_copy_shell.py index c5080ee43c..169c4e348d 100644 --- a/src/mbed_os_tools/test/host_tests_plugins/module_copy_shell.py +++ b/src/mbed_os_tools/test/host_tests_plugins/module_copy_shell.py @@ -74,7 +74,7 @@ def execute(self, capability, *args, **kwargs): if capability == 'shell': if os.name == 'nt': capability = 'copy' elif os.name == 'posix': capability = 'cp' - if capability == 'cp' or capability == 'copy' or capability == 'copy': + if capability == 'cp' or capability == 'copy' or capability == 'xcopy': copy_method = capability cmd = [copy_method, image_path, destination_path] if os.name == 'posix':