aboutsummaryrefslogtreecommitdiff
path: root/tools/regression/sockets/sendfile/Makefile
diff options
context:
space:
mode:
authorRobert Watson <rwatson@FreeBSD.org>2006-05-25 09:50:14 +0000
committerRobert Watson <rwatson@FreeBSD.org>2006-05-25 09:50:14 +0000
commit0fb57f87a31016916058f7677c88c170c96104fd (patch)
treec8ea25fd7519fbcb7f25603f2a4aec3bab8b5158 /tools/regression/sockets/sendfile/Makefile
parenteaa9b5ef097106dbc8eb73c0e92e2ab47748ba44 (diff)
downloadsrc-0fb57f87a31016916058f7677c88c170c96104fd.tar.gz
src-0fb57f87a31016916058f7677c88c170c96104fd.zip
Add a basic regression test for sendfile() over TCP, which sends varying
lengths of headers and data and makes sure it receives about the right number of bytes.
Notes
Notes: svn path=/head/; revision=158910
Diffstat (limited to 'tools/regression/sockets/sendfile/Makefile')
-rw-r--r--tools/regression/sockets/sendfile/Makefile11
1 files changed, 11 insertions, 0 deletions
diff --git a/tools/regression/sockets/sendfile/Makefile b/tools/regression/sockets/sendfile/Makefile
new file mode 100644
index 000000000000..afca2cac1010
--- /dev/null
+++ b/tools/regression/sockets/sendfile/Makefile
@@ -0,0 +1,11 @@
+#
+# $FreeBSD$
+#
+
+PROG= sendfile
+NO_MAN=
+
+sendfile: sendfile.c
+ gcc -Wall -o sendfile sendfile.c
+
+.include <bsd.prog.mk>