[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] Output an explicit newline before the "REASON:" string so the report script



# HG changeset patch
# User dan@xxxxxxxxxxxxxxxxxxxxxxxxxxx
# Node ID 1e6fa31fb7801502e0d517d9f30e4cef96d1d5a1
# Parent  cb2012e7e01d4e5b6c540d0c7d0d2f991e5ebdfa
Output an explicit newline before the "REASON:" string so the report script
can find it, even when a domain outputs a non-newline-terminated line.
Signed-off-by: Dan Smith <danms@xxxxxxxxxx>

diff -r cb2012e7e01d -r 1e6fa31fb780 tools/xm-test/lib/XmTestLib/Test.py
--- a/tools/xm-test/lib/XmTestLib/Test.py       Mon Dec  5 15:30:10 2005
+++ b/tools/xm-test/lib/XmTestLib/Test.py       Mon Dec  5 15:36:11 2005
@@ -131,11 +131,11 @@
             FAIL("Could not become a non-root user")
 
 def FAIL(reason):
-    print "REASON: %s" % reason
+    print "\nREASON: %s" % reason
     sys.exit(TEST_FAIL)
 
 def SKIP(reason):
-    print "REASON: %s" % reason
+    print "\nREASON: %s" % reason
     sys.exit(TEST_SKIP)
 
 def saveLog(logText, filename=None):

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.