[CRIU] [PATCH 15/15] test: pty05 -- Add testing of multiple devpts instance

Cyrill Gorcunov gorcunov at gmail.com
Thu Sep 27 00:06:06 MSK 2018


On Wed, Sep 26, 2018 at 07:37:51PM +0000, Andrey Vagin wrote:
> diff --git a/test/zdtm/static/pty05.c b/test/zdtm/static/pty05.c
> index f900e559f..e242b3964 100644
> --- a/test/zdtm/static/pty05.c
> +++ b/test/zdtm/static/pty05.c
> @@ -74,9 +74,12 @@ int main(int argc, char *argv[])
>                 int     size;
>                 int     fdm;
>                 int     fds;
> -       } peers[2] = {
> +       } peers[4] = {
>                 { .str = "hello1\n", .size = 7, },
> -               { .str = "hello2\n", .size = 7, } };
> +               { .str = "hello2\n", .size = 7, },
> +               { .str = "hello3\n", .size = 7, },
> +               { .str = "hello4\n", .size = 7, },
> +       };

Thanks a lot! I'll take a look! And indeed the former reason
we've started to support this multiple devtps was docker running
inside our container. It is under the question now if we even
need this code.


More information about the CRIU mailing list