[CRIU] [PATCH 1/2] test/rpc: unlink pidfile at the end

Andrew Vagin avagin at openvz.org
Mon Apr 27 05:42:33 PDT 2015


It's required to execute the test a few times

Signed-off-by: Andrew Vagin <avagin at openvz.org>
---
 test/rpc/run.sh | 1 +
 1 file changed, 1 insertion(+)

diff --git a/test/rpc/run.sh b/test/rpc/run.sh
index 13eb8e3..49145d8 100755
--- a/test/rpc/run.sh
+++ b/test/rpc/run.sh
@@ -23,6 +23,7 @@ function start_server {
 function stop_server {
 	title_print "Shutdown service server"
 	kill -SIGTERM $(cat build/pidfile)
+	unlink build/pidfile
 }
 
 function test_c {
-- 
2.1.0



More information about the CRIU mailing list