WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-changelog

[Xen-changelog] Output an explicit newline before the "REASON:" string s

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] Output an explicit newline before the "REASON:" string so the report script
From: Xen patchbot -unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Wed, 07 Dec 2005 14:20:06 +0000
Delivery-date: Wed, 07 Dec 2005 16:59:13 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# 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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] Output an explicit newline before the "REASON:" string so the report script, Xen patchbot -unstable <=