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

Konstantin Khlebnikov khlebnikov at openvz.org
Wed Sep 12 06:01:41 EDT 2012


$ 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