[CRIU] [PATCH] zdtm: add a new test, where both sides of a tcp connection is dumped
Andrew Vagin
avagin at parallels.com
Tue Aug 20 02:56:26 EDT 2013
On Tue, Aug 20, 2013 at 10:34:31AM +0400, Cyrill Gorcunov wrote:
> 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?
test_fork() is not required anymore. It's archaism.
More information about the CRIU
mailing list