mirror of
https://github.com/xen-project/xen.git
synced 2026-10-29 18:50:05 +01:00
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@us.ibm.com>
This commit is contained in:
1 parent
46ba2d63fa
commit
383dbc16f4
1 file changed
+2
-2
@@ -131,11 +131,11 @@ def becomeNonRoot():
|
||||
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):
|
||||
|
||||