[CRIU] [PATCH] zdtm: always show errors

Andrey Vagin avagin at openvz.org
Tue Oct 14 04:53:30 PDT 2014


Users don't like errors even if criu returns zero.
So I suggest to start looking at them.

Signed-off-by: Andrey Vagin <avagin at openvz.org>
---
 test/zdtm.sh | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/test/zdtm.sh b/test/zdtm.sh
index 1d0f6c3..cbd098c 100755
--- a/test/zdtm.sh
+++ b/test/zdtm.sh
@@ -606,6 +606,7 @@ EOF
 			fi
 			return 1
 		fi
+		cat $ddump/dump.log* | grep Error
 
 		if [ -n "$SNAPSHOT" ]; then
 			snappdir=../`basename $ddump`
@@ -664,6 +665,7 @@ EOF
 				[ -n "$PERF" ] && kill `cat $ddump/perf.pid`
 				return 2
 			}
+			cat $ddump/restore.log* | grep Error
 
 			[ -n "$PIDNS" ] && PID=`cat $TPID`
 			for i in `seq 5`; do
-- 
1.9.3



More information about the CRIU mailing list