From 240dbb67fa16d8d55c64d7658d284e07ae59cdaf Mon Sep 17 00:00:00 2001 From: Yaroslav Brustinov Date: Wed, 9 Mar 2016 23:43:21 +0200 Subject: regression: exchange --copy flag to --pkg argument, to run server with given package unzipped to /tmp/trex-scripts dir --- scripts/automation/regression/misc_methods.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts/automation/regression/misc_methods.py') 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) -- cgit 1.2.3-korg