[CRIU] [PATCH cr] pipe00: replace polling on waiting

Andrey Vagin avagin at openvz.org
Wed Oct 10 09:21:47 EDT 2012


Signed-off-by: Andrey Vagin <avagin at openvz.org>
---
 test/zdtm/live/static/pipe00.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/test/zdtm/live/static/pipe00.c b/test/zdtm/live/static/pipe00.c
index 1ae10cd..04c45cb 100644
--- a/test/zdtm/live/static/pipe00.c
+++ b/test/zdtm/live/static/pipe00.c
@@ -55,8 +55,7 @@ int main(int argc, char ** argv)
 
 		test_daemon();
 
-		while (test_go())
-			;
+		test_waitsig();
 
 		ret = read(12, buf, sizeof(TEST_STRING));
 		if (ret != sizeof(TEST_STRING)) {
-- 
1.7.1



More information about the CRIU mailing list