Commit Graph

324 Commits

Author SHA1 Message Date
martin
8acaa04128 Move to 2 clause license (can you spot the typo in the old text?) 2008-05-02 18:55:06 +00:00
martin
ce099b4099 Remove clause 3 and 4 from TNF licenses 2008-04-28 20:22:51 +00:00
drochner
ba327d4301 make this compile again
(it isn't built by default, but anyway)
2008-04-01 19:20:43 +00:00
dholland
794833ef2c Make this smarter still, so it folds multiple names for the same port
together (and drops duplicate names entirely) like services_mkdb now
does. PR lib/37711.
2008-03-09 01:31:07 +00:00
dholland
678f3eced6 Make this smarter; diff the output instead of just wc'ing it. 2008-03-08 23:32:38 +00:00
christos
342c547a73 regression test for posix_memalign 2008-02-03 22:56:13 +00:00
ginsbach
b0f72f0138 Add regression test for inet_network(3). 2008-01-19 04:12:20 +00:00
ginsbach
05d6614378 Fix PR/37710. Correct botched test result. This lead to an erroneous
regression failure.
2008-01-08 03:49:01 +00:00
martin
3c255188f8 Only remove the dbfile if no filename was given via -f 2008-01-06 19:42:32 +00:00
martin
9585e85c4d Remove the test db file when done testing. 2008-01-03 13:52:46 +00:00
seb
975a58878b Fix stresep(3) handling of consecutive quoted delimiter characters.
Approved by christos@
2007-12-06 22:07:07 +00:00
tnozaki
0d66ddd732 more PR/36938
- don't re-initialize internal-state when current locale is stateless encoding.
- fix testcase filedir problem.
2007-11-26 16:09:50 +00:00
martin
ed3f875e0a gcc constant folding at compile time works around the real points of these
tests - so enforce -O0.
2007-11-07 00:08:50 +00:00
martin
b7145352b8 Add another cast variant that might (and currently does) fail - pointed
out by Holger Weiss on port-sparc64.
2007-11-07 00:03:09 +00:00
tnozaki
0941b12b16 lib/36938 mbtowc misbehaving after invalid char sequence
- make sure to initialize mbtowc's internal state.
 - add regression test.
2007-09-18 15:12:07 +00:00
ginsbach
15b661abe9 Fix several end cases:
o If a long option looks like an ambiguous abbreviation of two or more long
  options, but all the possible interpretations would return the same
  value, then just return that value without complaining that it's
  ambiguous.

o If a long option could be interpreted either as an exact match for one
  long option, or as an abbreviation for one or more other long options,
  then treat it as the exact match.

These changes align NetBSD's getopt_long(3) with the current behavior of
GNU getopt_long(3), the de facto standard, and FreeBSD's getopt_long(3).
2007-07-05 16:05:40 +00:00
ginsbach
67a9c3250c Remove debugging code accidently left in the original commit. This should
make the test a bit less verbose.
2007-06-19 20:44:28 +00:00
he
71da552ff1 If HAS_SSP == "no", don't descend into the ssp subdirectory, because
building there will fail.
2007-06-02 11:09:22 +00:00
martin
e26aa3fe3e backout previous - needs more investigation 2007-06-01 17:15:19 +00:00
martin
0b39ba0208 This LDFLAGS setting looks like a copy&pasto 2007-06-01 16:54:11 +00:00
christos
5d8aa4c7a5 ssp is now part of libc. 2007-05-31 21:51:48 +00:00
dogcow
980bf56bd3 fallout from si_sigval -> si_value 2007-05-21 20:18:01 +00:00
christos
81ef0c79d1 s/si_sigval/si_value/ From Blair Sadewitz. 2007-05-21 20:02:40 +00:00
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