diff options
-rwxr-xr-x | scripts/automation/regression/stateful_tests/trex_general_test.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/automation/regression/stateful_tests/trex_general_test.py b/scripts/automation/regression/stateful_tests/trex_general_test.py index 366f7d83..5a13e5ff 100755 --- a/scripts/automation/regression/stateful_tests/trex_general_test.py +++ b/scripts/automation/regression/stateful_tests/trex_general_test.py @@ -271,7 +271,7 @@ class CTRexGeneral_Test(unittest.TestCase): client_pkg_name = os.path.basename(client_pkg_files[0]) if not os.path.exists('%s/trex_client' % CTRexScenario.scripts_path): print('\nUnzipping package') - return_code, _, stderr = run_command("sh -ec 'cd %s; tar -xzf %s'" % (CTRexScenario.scripts_path, client_pkg_name)) + return_code, _, stderr = misc_methods.run_command("sh -ec 'cd %s; tar -xzf %s'" % (CTRexScenario.scripts_path, client_pkg_name)) if return_code: raise Exception('Could not untar the client package: %s' % stderr) else: |