[CRIU] Re: [PATCH 3/3] zdtm: don't start state-tests on global stop

Andrey Vagin avagin at parallels.com
Wed Sep 12 06:09:52 EDT 2012


Acked-by: Andrey Vagin <avagin at parallels.com>

On Wed, Sep 12, 2012 at 02:01:41PM +0400, Konstantin Khlebnikov wrote:
> $ make cleanout stop
> rm -f -r *.pid *.out* *.test* *.state
> ./conntracks --statefile=conntracks.state --outfile=conntracks.out start
> make: *** [conntracks.state] Error 1
> 
> Signed-off-by: Konstantin Khlebnikov <khlebnikov at openvz.org>
> ---
>  test/zdtm/live/static/Makefile |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/test/zdtm/live/static/Makefile b/test/zdtm/live/static/Makefile
> index 73571a5..49d5288 100644
> --- a/test/zdtm/live/static/Makefile
> +++ b/test/zdtm/live/static/Makefile
> @@ -148,7 +148,7 @@ fifo-rowo-pair.pid: fifo-rowo-pair
>  $(TST_STATE:%=%.state):	%.state: %
>  	$(<D)/$(<F) --statefile=$@ --outfile=$<.out start
>  
> -$(TST_STATE:%=%.out): %.out: % %.state
> +$(TST_STATE:%=%.out): %.out: %
>  	-$(<D)/$(<F) --statefile=$<.state --outfile=$@ stop
>  
>  start:	$(PID) $(STATE)
> 


More information about the CRIU mailing list