Commit Graph

301 Commits

Author SHA1 Message Date
enami d4d6c3ff03 Rephrase the comment slightly to note that which revision of
humanize_number.c fails to handle these cases.
2007-03-13 02:56:18 +00:00
enami 1e59139e04 Make -DINTREE (a flag to tell make(1) to build the test program
with using in tree humanize_number.c) works again.
2007-03-12 03:39:57 +00:00
enami 1a453a687f Add failure case reported by Greg Troxel. 2007-03-12 03:38:21 +00:00
drochner 89d741cf50 initialize line counter for fparseln() 2007-03-07 15:13:50 +00:00
christos 016db3548e make this compile with -DSTATISTICS 2007-02-03 23:46:40 +00:00
christos 980e6dca8f - knf, ansi, lint etc. 2007-02-03 23:04:04 +00:00
christos ecb577caf1 - errors to stderr
- improve some shell syntax: $() instead of `` and ! prog instead of else
  kludge
- use getopts.
- add usage
2007-02-03 20:59:34 +00:00
christos fff7c9f19d misc cleanups. 2007-02-03 20:39:05 +00:00
ginsbach 089d34fd42 Add a small regression test for getopt_long(3). 2007-01-18 16:29:21 +00:00
christos 1665d5e960 fix spelling of accommodate; from Zapher. 2006-11-24 19:46:58 +00:00
ginsbach dca2bdf5fa - print lineno as the line number in error rather than line
- use errx(3) instead of err(3) since errno is not set; all the calls are
  for input parse errors which don't set errno
2006-11-16 21:34:53 +00:00
christos 499f07fbc0 use malloc instead of alloca. 2006-11-10 17:38:33 +00:00
oster 152ad1389e Fix a race condition in the sigchld regression test. It is now possible
to run 200 simultanous copies of the sigchld regression test without
some of them missing their signals.  From yamt via mrg.  Thanks!
2006-11-04 00:08:34 +00:00
christos 5bf68024f1 add regression test for stresep. 2006-08-12 23:51:12 +00:00
christos 2275570860 add servent back. 2006-07-27 22:10:32 +00:00
christos 1ec46ff7b0 Improve the test to test all the functions and not the re-entrant copies. 2006-07-27 22:09:58 +00:00
jnemeth 34d9535669 Coverity CID 829: Possible dereference of NULL pointer. 2006-05-23 21:52:55 +00:00
christos 441afb8953 Add regression tests from PR/24324 by Arne H Juul 2006-05-17 21:12:23 +00:00
mrg 249a83a430 sprinkle some (char *) to pacify GCC4. 2006-05-12 01:56:39 +00:00
mrg b141b31103 include <string.h>, <stdio.h> and <stdlib.h> as appropriate. 2006-05-10 19:07:22 +00:00
tnozaki 9d0aec986d replaced by FreeBSD version wcstod(3) for make it work
with L"inf", L"nan", and hex conversion.
suggested by jeorg AT netbsd DOT org, thanks.
2006-04-13 01:25:13 +00:00
drochner d9956871be link against libm 2006-03-21 18:34:22 +00:00
martin 8d15124682 This test is highly dependend on local configuration - note some
pitfalls.
2006-03-17 11:33:24 +00:00
rpaulo afcaa10a27 Refactor this test suite for v4-only and dual-stack hosts.
XXX: We will need to re-visit this regression test when we add IPv6
only support in the kernel.
2006-03-16 16:24:23 +00:00
kleink ff12504c9c Add a printf regression test; for now covering lib/32951. 2006-02-28 19:30:45 +00:00
drochner 02008493db test some basic operations with subnomal numbers 2006-02-21 16:36:57 +00:00
drochner 814f8ea6a5 fix pasto in comment 2006-02-20 17:14:33 +00:00
perry 0be44b35dc Remove leading __ from __(const|inline|signed|volatile) -- it is obsolete. 2005-12-24 21:22:46 +00:00
ross ba316f8199 Add memcpy test. 2005-12-06 08:14:48 +00:00
drochner c5d5b5030f also check a double argument to isnan(), and whether
float -> double conversion works
2005-10-20 18:02:52 +00:00
tnozaki 641c362cb9 add wcsncpy test. 2005-10-13 21:36:11 +00:00
tnozaki d1a646444f wcsncpy - SUSv6: if s2 is shorter than n, s1 should be filled with L'\0' until n. 2005-10-13 21:15:49 +00:00
christos 5ea0e661bc Add a test for 4 char key and value insert on a 65536 bucket size hash.
From Juergen Hannken-Illjes
2005-04-27 23:37:34 +00:00
christos 16339a29a1 Make sure that sign extension does not happen when we convert to wide
characters. From Miloslav Trmac
2005-03-27 18:49:51 +00:00
christos 9bebb1e48e Descend into mbtowc 2005-03-27 18:48:45 +00:00
christos fd1b20b859 Descend into citrus. 2005-03-27 18:48:10 +00:00
christos e911ab7deb Add jtc's regression tests. I decided to split them finally to follow suit. 2005-03-15 15:57:58 +00:00
perry 210055fd90 add regression tests for memmem(3) 2005-03-13 15:40:32 +00:00
perry 6439a725d3 move swab regression test to subdir 2005-03-13 15:33:45 +00:00
dsl f93da09d3d Add a -v (verbose) flag 2005-03-05 14:07:55 +00:00
martin 1f4b8e2aae Field width has to be int - ptrdiff_t might be something larger. 2005-03-05 07:48:47 +00:00
dsl 9707cf749d Add regression tests for strptime() 2005-03-04 21:42:40 +00:00
simonb 3cebd9325e White space nit- don't put a space before/after increment/decrement
operators.
2005-02-11 06:21:21 +00:00
perry dd334ae584 de-__P, remove obsolete "register" declarations. 2005-02-06 06:05:18 +00:00
kleink 5146404da8 Rename wprintf() to w_printf() to prevent a clash with the 9899/AMD1
function of the same name; suggested by J.T. Conklin on tech-userlevel.
2005-01-19 14:13:21 +00:00
christos 03409a2526 whitespace. 2004-11-11 15:58:59 +00:00
christos 13eabbb5aa - add unlockpt(); linux wants it.
- disable major/minor test and explain why.
2004-11-11 15:57:47 +00:00
christos 78821e774a Make the regression tests work in the presense of ptyfs ptys.
XXX: What to do about the master's name?
2004-11-11 00:03:15 +00:00
yamt d1bfce95f0 copyright notice. 2004-09-26 03:50:16 +00:00
yamt 7ae93615ad a simple regression test for wcrtomb and wctomb. 2004-09-26 03:45:10 +00:00