[CRIU] [PATCH] zdtm: always show errors
Pavel Emelyanov
xemul at parallels.com
Thu Oct 23 09:16:18 PDT 2014
On 10/14/2014 03:53 PM, Andrey Vagin wrote:
> 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`
This part didn't apply, I fixed it. When will you send me the perf patches? :)
> return 2
> }
> + cat $ddump/restore.log* | grep Error
>
> [ -n "$PIDNS" ] && PID=`cat $TPID`
> for i in `seq 5`; do
>
More information about the CRIU
mailing list