mirror of
https://github.com/checkpoint-restore/criu
synced 2025-08-31 06:15:24 +00:00
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: Cyrill Gorcunov <gorcunov@openvz.org> Signed-off-by: Pavel Emelyanov <xemul@virtuozzo.com>
This commit is contained in:
committed by
Pavel Emelyanov
parent
af74019d66
commit
c64010fe2d
@@ -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)
|
||||
|
Reference in New Issue
Block a user