aboutsummaryrefslogtreecommitdiff
path: root/tools/regression/lib/libutil/Makefile
Commit message (Collapse)AuthorAgeFilesLines
* Integrate lib/libutil into the build/kyuaEnji Cooper2014-08-131-13/+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
* don't assert on bad args, instead return an error..John-Mark Gurney2013-10-071-1/+2
| | | | | | | | | | | | | | | | | | Since so many programs don't check return value, always NUL terminate the buf... fix rounding when using base 1024 (the bug that started it all)... add a set of test cases so we can make sure that things don't break in the future... Thanks to Clifton Royston for testing and the test program... Approved by: re (hrs, glebius) MFC after: 1 week Notes: svn path=/head/; revision=256130
* Add test-pidfile.c and increase warning level.Dag-Erling Smørgrav2009-11-121-2/+2
| | | | Notes: svn path=/head/; revision=199214
* Add four utility functions related to struct grp processing modeled in-partSean Farley2008-04-231-1/+1
| | | | | | | | | | | | | | | | | | | | | | after similar calls related to struct pwd in libutil/pw_util.c: - gr_equal() Perform a deep comparison of two struct grp's. It does a thorough, yet unoptimized comparison of all the members regardless of order. - gr_make() Create a string (see group(5)) from a struct grp. - gr_dup() Duplicate a struct grp. Returns a value that is a single contiguous block of memory. - gr_scan() Create a struct grp from a string (as produced by gr_make()). MFC after: 3 weeks Notes: svn path=/head/; revision=178431
* Add regression tests for flopen(3).Dag-Erling Smørgrav2007-08-031-1/+1
| | | | | | | Approved by: re (blanket) Notes: svn path=/head/; revision=171707
* Add regression tests for trimdomain(3).Brooks Davis2005-10-051-0/+12
Notes: svn path=/head/; revision=150956