Commit c64010fe authored by Vitaly Ostrosablin's avatar Vitaly Ostrosablin Committed by Pavel Emelyanov

test: fix same socket names in socket-{dgram_data, snd_addr}

Those two tests use same socket name and if both of them are run
simultaneously, they would fight for socket and one will get EADDRINUSE.
This patch gives socket_dgram_data an unique name, so that everyone will
be happy.

travis-ci: success for test: fix same socket names in socket-{dgram_data, snd_addr}
Acked-by: 's avatarCyrill Gorcunov <gorcunov@openvz.org>
Signed-off-by: 's avatarPavel Emelyanov <xemul@virtuozzo.com>
parent af74019d
......@@ -11,7 +11,7 @@
const char *test_doc = "Check that data in dgram socket are restored correctly";
const char *test_author = "Andrew Vagin <avagin@openvz.org";
#define SK_SRV "\0socket_snd_srv"
#define SK_SRV "\0socket_dgram_srv"
#define MSG "hello"
int main(int argc, char **argv)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment