diff options
author | pjd <pjd@FreeBSD.org> | 2007-04-20 19:01:42 +0000 |
---|---|---|
committer | pjd <pjd@FreeBSD.org> | 2007-04-20 19:01:42 +0000 |
commit | b388ff90ba28e24c1b28b7362d82d6480d60d996 (patch) | |
tree | 32ad8e5e89e3140308d2c4856e1d1eb01cc0cea8 /tools/regression | |
parent | c6bba81ef082232211d9f8573dfbf17d7505d871 (diff) | |
download | FreeBSD-src-b388ff90ba28e24c1b28b7362d82d6480d60d996.zip FreeBSD-src-b388ff90ba28e24c1b28b7362d82d6480d60d996.tar.gz |
Test sending 0 bytes.
Diffstat (limited to 'tools/regression')
-rw-r--r-- | tools/regression/sockets/sendfile/sendfile.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tools/regression/sockets/sendfile/sendfile.c b/tools/regression/sockets/sendfile/sendfile.c index 960d7e7..e91151c 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); } |