[CRIU] [PATCH] zdtm: move a tap header to a first line
Andrei Vagin
avagin at openvz.org
Fri Dec 16 16:22:23 PST 2016
From: Andrei Vagin <avagin at virtuozzo.com>
org.tap4j.parser.ParserException: Error parsing TAP Stream: Invalid position of TAP Header.
It must be the first element (apart of Comments) in the TAP Stream.
Reported-by: Mr Jenkins
Signed-off-by: Andrei Vagin <avagin at virtuozzo.com>
---
test/zdtm.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/test/zdtm.py b/test/zdtm.py
index 8375f0b..b899e38 100755
--- a/test/zdtm.py
+++ b/test/zdtm.py
@@ -1348,10 +1348,10 @@ class launcher:
att += 1
self.__file_report = open(reportname, 'a')
+ print >> self.__file_report, "TAP version 13"
print >> self.__file_report, "# Hardware architecture: " + arch
print >> self.__file_report, "# Timestamp: " + now.strftime("%Y-%m-%d %H:%M") + " (GMT+1)"
print >> self.__file_report, "# "
- print >> self.__file_report, "TAP version 13"
print >> self.__file_report, "1.." + str(nr_tests)
def __show_progress(self, msg):
--
2.7.4
More information about the CRIU
mailing list