[CRIU] [PATCH] zdtm: don't print one line twice

Andrei Vagin avagin at virtuozzo.com
Tue May 15 23:29:59 MSK 2018


(00.566486)pie: 1: seccomp: mode 0 on tid 1
(00.566601)pie: 1: Error (criu/pie/restorer.c:460): seccomp: Unexpected tid ->
(00.566601)pie: 1: 1 != 1
(00.566601)pie: 1: 1 != 1
(00.566639)pie: 1: Error (criu/pie/restorer.c:1817): Restorer fail 1

Signed-off-by: Andrei Vagin <avagin at virtuozzo.com>
---
 test/zdtm.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/test/zdtm.py b/test/zdtm.py
index eb9914530..6961c06df 100755
--- a/test/zdtm.py
+++ b/test/zdtm.py
@@ -1829,6 +1829,7 @@ def grep_errors(fname):
 		else:
 			if print_next:
 				print_next = print_error(l)
+				before = []
 	if not first:
 		print_sep("ERROR OVER", "-", 60)
 
-- 
2.14.3



More information about the CRIU mailing list