X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=system%2FTestBox.py;h=6fc0dba4769befd03757dbbe329b3c69ddafb472;hb=480199da582fb49c047bf615faccb06656a5fcbe;hp=b46ec52d1de4f208330aa8b452bce84b1820a21f;hpb=a1f95a6336c974b085796e73072364fdcc7f13be;p=tests.git diff --git a/system/TestBox.py b/system/TestBox.py index b46ec52..6fc0dba 100644 --- a/system/TestBox.py +++ b/system/TestBox.py @@ -27,7 +27,9 @@ class TestBox: return False def run_in_buildname (self,command): + utils.header("Running command %s on testbox %s"%(command,self.hostname())) return self.test_ssh.run_in_buildname (command) + # should use rsync instead def copy (self,local_file,recursive=False): return self.test_ssh.copy (local_file,recursive) @@ -37,8 +39,8 @@ class TestBox: def mkdir (self,direname): return self.test_ssh.mkdir(direname) - def kill_all_qemus(self): - utils.system(self.test_ssh.to_host("killall qemu")) + self.run_in_buildname("killall qemu") + return True