From: Thierry Parmentelat Date: Thu, 28 Aug 2008 09:13:36 +0000 (+0000) Subject: cosmetic X-Git-Tag: tests-4.3-0~110 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=e5cc25001c2d87be1d69a70408dfe66d8d6cb571;p=tests.git cosmetic --- diff --git a/system/TestNode.py b/system/TestNode.py index a32ce67..491b356 100644 --- a/system/TestNode.py +++ b/system/TestNode.py @@ -230,8 +230,9 @@ class TestNode: # push the script on the node's root context ssh_handle=self.create_test_ssh() ssh_handle.copy_home(local_script) - if ssh_handle.run("./"+os.path.basename(local_script)) != 0: - print "WARNING: sanity check script %s FAILED" + script_name=os.path.basename(local_script) + if ssh_handle.run("./"+script_name) != 0: + print "WARNING: sanity check script %s FAILED"%script_name # xxx - temporary : always return true for now #return False return True