From: Thierry Parmentelat Date: Mon, 10 Dec 2007 09:31:47 +0000 (+0000) Subject: runs with python -u & cosmetic change X-Git-Tag: 2008-02-11-last-vmware-support~221 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=315e89a12b009e2311ba601bf68d94c75cda2b90;p=tests.git runs with python -u & cosmetic change --- diff --git a/system/TestMain.py b/system/TestMain.py index 5bff507..7e20464 100755 --- a/system/TestMain.py +++ b/system/TestMain.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python -u # $Id$ import os, sys, time diff --git a/system/TestSite.py b/system/TestSite.py index 817e21d..f1b1dee 100644 --- a/system/TestSite.py +++ b/system/TestSite.py @@ -142,7 +142,7 @@ class TestSite: self.kill_all_vmwares() print "* Displaying vmplayer on DISPLAY=",display for l in liste_nodes : - print "* Starting vmplayer for node %s -- see vmplayer.log",l['hostname'] + print "* Starting vmplayer for node %s -- see vmplayer.log"%l['hostname'] os.system('set -x; cd %s/VirtualFile-%s ; DISPLAY=%s vmplayer My_Virtual_Machine.vmx < /dev/null 2>&1 >> vmplayer.log &'%(path,l['hostname'],display)) def delete_known_hosts(self):