From: Thierry Parmentelat Date: Thu, 14 Feb 2008 12:00:31 +0000 (+0000) Subject: oops - wrong version got added X-Git-Tag: tests-4.2-4~245 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=a9667f299fa2d90fa59458d8b5368a10cf70f628;p=tests.git oops - wrong version got added --- diff --git a/system/TestBox.py b/system/TestBox.py index 5e39b51..088922a 100644 --- a/system/TestBox.py +++ b/system/TestBox.py @@ -9,15 +9,15 @@ class TestBox: self.hostname=hostname self.key=key - def run (command): + def run (self,command): if self.hostname == "localhost": return utils.system(command) else: if self.key: to_run="ssh -i %s.rsa %s %s"%(self.key,self.hostname,command) else: - to_run="ssh %s %s"%(self.key,self.hostname,command) + to_run="ssh %s %s"%(self.hostname,command) return utils.system(to_run) - def step_all_qemus(hostname): + def kill_all_qemus(self): self.run("killall qemu")