[CRIU] [PATCH v2] zdtm: cleanup launcher output in case of
passed test
Andrew Vagin
avagin at parallels.com
Thu Nov 1 05:30:48 EDT 2012
Acked-by: Andrew Vagin <avagin at parallels.com>
On Thu, Nov 01, 2012 at 01:08:42PM +0400, Kinsbursky Stanislav wrote:
> From: Stanislav Kinsbursky <skinsbursky at openvz.org>
>
> Print PASS only once.
>
> Signed-off-by: Stanislav Kinsbursky <skinsbursky at openvz.org>
> ---
> test/zdtm.sh | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
> diff --git a/test/zdtm.sh b/test/zdtm.sh
> index 41cedeb..1b5febd 100644
> --- a/test/zdtm.sh
> +++ b/test/zdtm.sh
> @@ -291,7 +291,7 @@ EOF
> [ $sltime -lt 9 ] && sltime=$((sltime+1))
> done
> cat $test.out
> - cat $test.out | grep PASS || return 2
> + cat $test.out | grep -q PASS || return 2
> }
>
> case_error()
> _______________________________________________
> CRIU mailing list
> CRIU at openvz.org
> https://openvz.org/mailman/listinfo/criu
More information about the CRIU
mailing list