Author: gnichols
Date: 2010-06-16 21:24:12 +0000 (Wed, 16 Jun 2010)
New Revision: 556
Modified:
trunk/v7/hardwaretest.py
Log:
568518 - FEAT: add a BMC fencing testing
Modified: trunk/v7/hardwaretest.py
===================================================================
--- trunk/v7/hardwaretest.py 2010-06-16 21:16:40 UTC (rev 555)
+++ trunk/v7/hardwaretest.py 2010-06-16 21:24:12 UTC (rev 556)
@@ -452,21 +452,25 @@
taskInFile = os.open(self.environment.getTaskFilePath() + ".in",
os.O_WRONLY)
print "opened task file"
sys.stdout.flush()
- os.write(taskInFile, command)
- os.write(taskInFile, "\n")
+ os.write(taskInFile, command + "\n")
os.close(taskInFile)
- print "Reading Results"
+ print "Reading Results:"
+ print "</pre><hr><pre>"
+
+ sys.stdout.flush()
taskOutFile = open(self.environment.getTaskFilePath()+".out",
"r")
while True:
line = taskOutFile.readline()
if line:
print line
+ sys.stdout.flush()
else:
break
taskOutFile.close()
+ print "</pre><hr><pre>"
print "done"
+ print "</pre>"
sys.stdout.flush()
- print "</pre>"
def doWebStatus(self):
print "<pre>"
Show replies by date