summaryrefslogtreecommitdiffstats
path: root/scripts/automation/regression/misc_methods.py
diff options
context:
space:
mode:
authorYaroslav Brustinov <ybrustin@cisco.com>2016-03-09 23:43:21 +0200
committerYaroslav Brustinov <ybrustin@cisco.com>2016-03-09 23:43:21 +0200
commit240dbb67fa16d8d55c64d7658d284e07ae59cdaf (patch)
tree80c157bee9e807312fa1e6f3944c14954b8c1a11 /scripts/automation/regression/misc_methods.py
parentf4b44c0decd8229ffa978ca920b5366aef4be9c2 (diff)
regression: exchange --copy flag to --pkg argument, to run server with given package unzipped to /tmp/trex-scripts dir
Diffstat (limited to 'scripts/automation/regression/misc_methods.py')
-rwxr-xr-xscripts/automation/regression/misc_methods.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/automation/regression/misc_methods.py b/scripts/automation/regression/misc_methods.py
index 6830be01..783858e8 100755
--- a/scripts/automation/regression/misc_methods.py
+++ b/scripts/automation/regression/misc_methods.py
@@ -40,7 +40,7 @@ def run_command(cmd, background = False):
def run_remote_command(host, command_string, background = False):
- cmd = 'ssh -tt %s \'sudo sh -c "%s"\'' % (host, command_string)
+ cmd = 'ssh -tt %s \'sudo sh -ec "%s"\'' % (host, command_string)
return run_command(cmd, background)