[CRIU] [PATCH] test: show logs in case an error

Andrew Vagin avagin at parallels.com
Sun Dec 29 10:36:08 PST 2013


Pls, ignore this patch.

On Sun, Dec 29, 2013 at 03:47:58PM +0400, Andrey Vagin wrote:
> Makefile is locked, because tests can be executed concurrently.
> 
> Signed-off-by: Andrey Vagin <avagin at openvz.org>
> ---
>  test/Makefile | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/test/Makefile b/test/Makefile
> index bb32826..eb7e5f6 100644
> --- a/test/Makefile
> +++ b/test/Makefile
> @@ -19,4 +19,4 @@ fault-injection: .FORCE
>  
>  zdtm_ns: $(shell echo "$(TST)" | tr ' ' '\n' | grep -P $(EXP))
>  $(TST):
> -	./zdtm.sh ${ZDTM_ARGS} $(@) &> $(subst /,_,$@).log
> +	./zdtm.sh ${ZDTM_ARGS} $(@) &> $(subst /,_,$@).log || ( flock Makefile cat $(subst /,_,$@).log)
> -- 
> 1.8.3.1
> 


More information about the CRIU mailing list