summaryrefslogtreecommitdiff
path: root/tests/resume-with-stek-expiration.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/resume-with-stek-expiration.c')
-rw-r--r--tests/resume-with-stek-expiration.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/resume-with-stek-expiration.c b/tests/resume-with-stek-expiration.c
index 80445d64d0..de0f07012b 100644
--- a/tests/resume-with-stek-expiration.c
+++ b/tests/resume-with-stek-expiration.c
@@ -297,11 +297,13 @@ static void run(const char *name, const char *prio, int resumption_should_succee
if (child) {
/* We are the parent */
+ close(sockets[1]);
server(sockets[0], resumption_should_succeed, rounds, prio);
waitpid(child, &status, 0);
check_wait_status(status);
} else {
/* We are the child */
+ close(sockets[0]);
client(sockets[1], resumption_should_succeed, rounds, prio);
exit(0);
}