From e8ed244bb4f1c0df84f101cd672347413723d89c Mon Sep 17 00:00:00 2001 From: Nikos Mavrogiannopoulos Date: Sun, 15 Nov 2015 20:35:18 +0100 Subject: tests: made seccomp tests more reliable by waiting for each side to terminate --- tests/dtls-with-seccomp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/dtls-with-seccomp.c') diff --git a/tests/dtls-with-seccomp.c b/tests/dtls-with-seccomp.c index ed2be69724..f31dd9a8e4 100644 --- a/tests/dtls-with-seccomp.c +++ b/tests/dtls-with-seccomp.c @@ -144,7 +144,7 @@ static void client(int fd) exit(1); } - ret = gnutls_bye(session, GNUTLS_SHUT_WR); + ret = gnutls_bye(session, GNUTLS_SHUT_RDWR); if (ret < 0) { fail("server: error in closing session: %s\n", gnutls_strerror(ret)); } -- cgit v1.2.1