[CRIU] [PATCH] Make socket_udp-corked use different port

Vitaly Ostrosablin vostrosablin at virtuozzo.com
Mon Mar 26 12:31:21 MSK 2018


If test is run simultaneously with socket_udp - then one of tests would
be unable to bind same port.

Signed-off-by: Vitaly Ostrosablin <vostrosablin at virtuozzo.com>
---
 test/zdtm/static/socket_udp-corked.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/test/zdtm/static/socket_udp-corked.c b/test/zdtm/static/socket_udp-corked.c
index 30cfac5ec..490f27895 100644
--- a/test/zdtm/static/socket_udp-corked.c
+++ b/test/zdtm/static/socket_udp-corked.c
@@ -21,7 +21,7 @@ const char *test_author = "Pavel Emelyanov <xemul at parallels.com<>\n";
 #include <sys/wait.h>
 #include <netinet/udp.h>
 
-static int port = 8880;
+static int port = 8882;
 
 #define MSG1 "msg1"
 
-- 
2.16.2



More information about the CRIU mailing list