History log of /freebsd-9.3-release/tools/regression/sockets/sendfile/sendfile.c
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
# 267654 19-Jun-2014 gjb

Copy stable/9 to releng/9.3 as part of the 9.3-RELEASE cycle.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation

# 225736 22-Sep-2011 kensmith

Copy head to stable/9 as part of 9.0-RELEASE release cycle.

Approved by: re (implicit)


# 216379 11-Dec-2010 pjd

Allow to specify path to a file we want to test with sendfile(2).
This allows to specify selected file system and not only /tmp/.


# 204294 24-Feb-2010 brucec

Update the sendfile regression test so that it outputs results in the
TAP format.
Add a checksum to verify that the data hasn't been corrupted between
being read from disk and being received.

Approved by: rrs (mentor)


# 182903 10-Sep-2008 maxim

o Correct a comment: a test file size is a four pages not three.


# 168912 20-Apr-2007 pjd

Test sending 0 bytes.


# 168911 20-Apr-2007 pjd

Fix length calculation.


# 168855 19-Apr-2007 des

Valid error codes for err() and errx() are 1..255.
The correct format specifier for ssize_t is %zd.


# 168854 19-Apr-2007 pjd

Add more tests to verify last sendfile(2) breakage: test sending more
than a page size and nbytes=0.


# 158910 25-May-2006 rwatson

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.