summaryrefslogtreecommitdiff
path: root/tools/regression/sockets/sendfile
Commit message (Collapse)AuthorAgeFilesLines
* Do a sweep and remove most WARNS=6 settingsKyle Evans2020-10-011-1/+0
| | | | | | | | | | | | | | | Repeating the default WARNS here makes it slightly more difficult to experiment with default WARNS changes, e.g. if we did something absolutely bananas and introduced a WARNS=7 and wanted to try lifting the default to that. Drop most of them; there is one in the blake2 kernel module, but I suspect it should be dropped -- the default WARNS in the rest of the build doesn't currently apply to kernel modules, and I haven't put too much thought into whether it makes sense to make it so. Notes: svn path=/head/; revision=366304
* Fix warnings with gcc 5.0Enji Cooper2016-01-161-3/+0
| | | | | | | | | | | | | | | | | reconnect.c: - Convert the K&R prototype of main to an ANSI prototype to mute a warning from gcc 4.2.1 - Close s_sock2 after finishing off the last test to plug a leak and mute a warning from gcc 5.0 about a -Wunused-but-set variable sendfile.c: - Fix a -Wunused-but-set warning with gcc 5.0 with pagesize in main(..) MFC after: 5 days Sponsored by: EMC / Isilon Storage Division Notes: svn path=/head/; revision=294126
* Fix LDADD/DPADD that should be LIBADD.Bryan Drewery2015-12-041-2/+1
| | | | | | | Sponsored by: EMC / Isilon Storage Division Notes: svn path=/head/; revision=291738
* - Don't use /tmp because it's outside ATF's prescribed sandboxEnji Cooper2015-04-111-4/+4
| | | | | | | | | | | - Replace a hardcoded PATH_MAX value with sizeof(path) - Use path like an array, not a pointer, and always try to unlink it in cleanup MFC after: 1 week Sponsored by: EMC / Isilon Storage Division Notes: svn path=/head/; revision=281394
* NO_MAN= has been deprecated in favor of MAN= for some time, go aheadWarner Losh2014-04-131-1/+1
| | | | | | | | | and finish the job. ncurses is now the only Makefile in the tree that uses it since it wasn't a simple mechanical change, and will be addressed in a future commit. Notes: svn path=/head/; revision=264400
* Add a sendfile regression test for transmit length > file size.Ed Maste2013-09-101-32/+64
| | | | | | | | | | This test identified the issue fixed in FreeBSD-SA-13:11.sendfile. Sponsored by: The FreeBSD Foundation Approved by: re (glebius) Notes: svn path=/head/; revision=255451
* Allow to specify path to a file we want to test with sendfile(2).Pawel Jakub Dawidek2010-12-111-3/+16
| | | | | | | This allows to specify selected file system and not only /tmp/. Notes: svn path=/head/; revision=216379
* Fixed missing or broken library dependencies.Ruslan Ermilov2010-02-251-1/+2
| | | | Notes: svn path=/head/; revision=204311
* Update the sendfile regression test so that it outputs results in theRebecca Cran2010-02-242-169/+242
| | | | | | | | | | | 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) Notes: svn path=/head/; revision=204294
* o Correct a comment: a test file size is a four pages not three.Maxim Konovalov2008-09-101-1/+1
| | | | Notes: svn path=/head/; revision=182903
* Test sending 0 bytes.Pawel Jakub Dawidek2007-04-201-0/+6
| | | | Notes: svn path=/head/; revision=168912
* Fix length calculation.Pawel Jakub Dawidek2007-04-201-1/+1
| | | | Notes: svn path=/head/; revision=168911
* Valid error codes for err() and errx() are 1..255.Dag-Erling Smørgrav2007-04-192-27/+29
| | | | | | | The correct format specifier for ssize_t is %zd. Notes: svn path=/head/; revision=168855
* Add more tests to verify last sendfile(2) breakage: test sending morePawel Jakub Dawidek2007-04-191-3/+38
| | | | | | | than a page size and nbytes=0. Notes: svn path=/head/; revision=168854
* o style.Makefile(5): WARNS= -> WARNS?=.Maxim Konovalov2006-07-091-1/+1
| | | | Notes: svn path=/head/; revision=160202
* Use WARNS and rely on rules rather than an explicit target for theRobert Watson2006-05-251-3/+1
| | | | | | | | | test binary. Reported by: maxim Notes: svn path=/head/; revision=158911
* Add a basic regression test for sendfile() over TCP, which sends varyingRobert Watson2006-05-252-0/+337
lengths of headers and data and makes sure it receives about the right number of bytes. Notes: svn path=/head/; revision=158910