[CRIU] [PATCH] zdtm: add a new test, where both sides of a tcp connection is dumped
Cyrill Gorcunov
gorcunov at gmail.com
Tue Aug 20 02:34:31 EDT 2013
On Tue, Aug 20, 2013 at 10:23:59AM +0400, Andrey Vagin wrote:
> Reported-by: Cyrill Gorcunov <gorcunov at openvz.org>
> Signed-off-by: Andrey Vagin <avagin at openvz.org>
> +++ b/test/zdtm/live/static/socket-tcpbuf.c
> @@ -96,6 +96,10 @@ int main(int argc, char **argv)
> int sk_bsize;
> int ret, snd_size, rcv_size;
>
> +#ifdef ZDTM_TCP_LOCAL
> + test_init(argc, argv);
> +#endif
> +
> if (pipe(pfd)) {
> err("pipe() failed");
> return 1;
> @@ -109,7 +113,9 @@ int main(int argc, char **argv)
> int size;
> char c;
>
What about test_fork(), it's not needed?
More information about the CRIU
mailing list