diff --git a/tools/regression/sockets/sendfile/sendfile.c b/tools/regression/sockets/sendfile/sendfile.c index 960d7e777d60..e91151c6910a 100644 --- a/tools/regression/sockets/sendfile/sendfile.c +++ b/tools/regression/sockets/sendfile/sendfile.c @@ -302,6 +302,12 @@ run_parent(void) sleep(1); + connect_socket = new_test_socket(); + send_test(connect_socket, 0, TEST_PAGES * getpagesize(), 0); + close(connect_socket); + + sleep(1); + (void)kill(child_pid, SIGKILL); }