From c4bba6061240627e023cd43b8ddcd5ebd7b76588 Mon Sep 17 00:00:00 2001 From: Jo¶rgen Karlsson Date: Thu, 18 Jun 2015 12:10:02 +0200 Subject: Fix order of arguments in ping.py MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The bash script expects 'destination' followed by 'option' Change-Id: If1c42f867caaa05c794cc81acc34fdce1774eb7c Signed-off-by: Jo¶rgen Karlsson --- yardstick/benchmark/scenarios/networking/ping.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/yardstick/benchmark/scenarios/networking/ping.py b/yardstick/benchmark/scenarios/networking/ping.py index 1b87c7460..ddf6864dc 100644 --- a/yardstick/benchmark/scenarios/networking/ping.py +++ b/yardstick/benchmark/scenarios/networking/ping.py @@ -50,7 +50,7 @@ class Ping(base.Scenario): LOG.debug("ping '%s' '%s'", options, destination) exit_status, stdout, stderr = self.connection.execute( - "/bin/sh -s {0} {1}".format(options, destination), + "/bin/sh -s {0} {1}".format(destination, options), stdin=open(self.target_script, "r")) if exit_status != 0: -- cgit 1.2.3-korg