summaryrefslogtreecommitdiff
path: root/tools/regression/lib/libutil/test-flopen.c
Commit message (Collapse)AuthorAgeFilesLines
* Integrate lib/libutil into the build/kyuaEnji Cooper2014-08-131-210/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Remove the .t wrappers Rename all of the TAP test applications from test-<test> to <test>_test to match the convention described in the TestSuite wiki page humanize_number_test.c: - Fix -Wformat warnings with counter variables - Fix minor style(9) issues: -- Header sorting -- Variable declaration alignment/sorting in main(..) -- Fit the lines in <80 columns - Fix an off by one index error in the testcase output [*] - Remove unnecessary `extern char * optarg;` (this is already provided by unistd.h) Phabric: D555 Approved by: jmmv (mentor) MFC after: 2 weeks Obtained from: EMC / Isilon Storage Division [*] Submitted by: Casey Peel <cpeel@isilon.com> [*] Sponsored by: EMC / Isilon Storage Division Notes: svn path=/head/; revision=269904
* Fix warnings and remove one unnecessary use of vfork(). The other couldDag-Erling Smørgrav2009-11-121-9/+3
| | | | | | | also be removed with a little more work. Notes: svn path=/head/; revision=199212
* Check fork() return valueDag-Erling Smørgrav2009-11-101-2/+5
| | | | Notes: svn path=/head/; revision=199134
* Update copyright.Dag-Erling Smørgrav2009-10-191-1/+1
| | | | Notes: svn path=/head/; revision=198225
* Remove redundant $FreeBSD$.Dag-Erling Smørgrav2009-10-191-2/+0
| | | | Notes: svn path=/head/; revision=198224
* Check that flopen() can lock against self and that children inherit the lock.Dag-Erling Smørgrav2009-06-061-6/+41
| | | | Notes: svn path=/head/; revision=193592
* #ifdef out the lock-against-self test. I'm not sure it makes sense, andDag-Erling Smørgrav2008-10-201-0/+4
| | | | | | | | | it relies on non-portable flock(2) semantics. Not only is flock(2) not portable, but on some OSes that do have it, it is implemented in terms of fcntl(2) locks, which are per-process rather than per-descriptor. Notes: svn path=/head/; revision=184090
* Add regression tests for flopen(3).Dag-Erling Smørgrav2007-08-031-0/+176
Approved by: re (blanket) Notes: svn path=/head/; revision=171707