Skip to contentSkip to conversation

KVM test: iozone_windows: Fix a function call

PATCH New Lucas Meneghel Rodrigues 1 participant 1 message Jan 14, 2011 KVM

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 KVM test: iozone_windows: Fix a function call

session.cmd_output() now takes a 'cmd' parameter, rather than a 'command' parameter.

---
 client/tests/kvm/tests/iozone_windows.py |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)
client/tests/kvm/tests/iozone_windows.py +1 -2
index 15b135e..508ae95 100644
@@ -29,8 +29,7 @@ def run_iozone_windows(test, params, env):
     c = params.get("iozone_cmd")
     t = int(params.get("iozone_timeout"))
     logging.info("Running IOzone command on guest, timeout %ss", t)
-    results = session.cmd_output(command=c, timeout=t,
-                                 print_func=logging.debug)
+    results = session.cmd_output(cmd=c, timeout=t, print_func=logging.debug)
     utils.open_write_close(results_path, results)
 
     # Postprocess the results using the IOzone postprocessing module
Signature · 1 line
1.7.3.4