Commit Graph

230 Commits

Author SHA1 Message Date
drochner
63ff804817 -make this table driven
-make check for correct si_code a "hard" assert()
 instead of just a warning
2004-03-25 14:51:28 +00:00
he
89ae25ef5b Also temporarily remove servent until it's made compileable again
after recent changes to <netdb.h>.
2004-03-21 01:47:00 +00:00
he
4eb714337c Remove protoent from SUBDIR, since recent changes to netdb.h makes
it fail to build.
2004-03-20 23:27:40 +00:00
skrll
289e3579d0 Correct another UUDECODE_FILES entry. 2004-03-19 10:36:55 +00:00
skrll
06babf235f Pick the right files to decode. 2004-03-19 10:04:54 +00:00
jmc
6fe4ead562 Convert to usage of UUDECODE_FILES and standardize on filename extension 2004-03-19 08:07:22 +00:00
drochner
30c03a2e3b -as Klaus confirmed, we cannot rely on the SIGFPE handler to return to
the next instruction, so jongjmp() back
-check that fpsetsticky(0) really clears the bits
-check that fpsetsticky() returns the old status
-use SA_SIGINFO and check si_code - make this a warning message instead
 of a hard error for now, as no port gets this right yet
2004-03-05 16:37:57 +00:00
jmc
66a501cd90 Needs sys/type.h to get definitions for htonl and friends 2004-03-05 05:19:45 +00:00
kleink
84b76bdd2a isinfl() and isnanl() are gone. 2004-03-05 01:00:53 +00:00
drochner
786841d520 you don't have a "." in your PATH? 2004-03-02 14:27:25 +00:00
drochner
de3dc2ccec remove a pointless check - this code is not reached
in the normal case
2004-03-01 12:04:18 +00:00
drochner
10c161f94c add a test of get/make/setcontext, also checking context linking
via uc_link and argument passing to the new context
2004-02-28 16:55:05 +00:00
itojun
9635853285 KNF 2004-02-27 15:14:58 +00:00
itojun
d4f91e97c6 duplicate was in regress/lib/libc/locale/ctype1 2004-02-27 04:20:11 +00:00
itojun
0ba94afa3a regress for mbstowcs/wcstombs. from citrus distribution 2004-02-26 23:29:46 +00:00
christos
dfc0794d60 -D_REENTRANT not needed anymore. 2004-02-19 19:51:05 +00:00
christos
b6b464bd1b -D_REENTRANT is not needed 2004-02-19 19:39:13 +00:00
christos
270cd4e394 Add servent and protoent tests 2004-02-19 19:38:51 +00:00
christos
96401843e9 Adjust the compare script so that it can be used for both servent and protoent. 2004-02-19 19:19:29 +00:00
christos
6e311ad824 {get,set,end}protoent_r regressions. 2004-02-19 19:18:48 +00:00
christos
7fc50c9d78 {get,set,end}servent_r regression test. 2004-02-19 19:06:52 +00:00
itojun
6d206bfa62 skip ai_canonname from testing, as it can be vary by /etc/hosts setting.
pointed out by Martin Husemann
2004-01-02 15:07:39 +00:00
martin
572d0edcf8 Descend into siginfo on cleandir always.
From David P. Reese Jr. in PR toolchain/23936.
2003-12-31 11:14:25 +00:00
veego
8bf78d509a Update the checksum to match src/lib/libc/stdlib/random.c rev 1.23. 2003-12-19 18:39:04 +00:00
jmc
4b5c99bea9 Don't check for HAVE_SIGINFO if make(obj) (as more than likely the compiler
doesn't exist yet and the subdir is always descended on make obj)
2003-12-17 05:36:43 +00:00
matt
d0d3605346 .include <bsd.own.mk> so the proper have of CC is defined before we use it. 2003-12-11 22:45:06 +00:00
itojun
c81f32fe6c comment from niels provos;
- seed2 is necessary, but use it as "seed2 + x" not "seed2 ^ x".
- skipping number is not needed, so disable it for 16bit generator (makes
  the repetition period to 30000)
2003-12-10 05:22:18 +00:00
simonb
a7fbae904d Fix up abort test so that we abort the first time we see a small enough
period, not the second time.
Use UINT64_MAX (from Klaus Klein).
Remove trailing blank line.

XXX: 12000 still isn't right - values around 11800 have been observed.
2003-11-29 00:11:18 +00:00
simonb
db92efc5c8 Print out a little more info in the debug case. 2003-11-27 01:03:13 +00:00
itojun
d94d0c139d uint64_t may not be "unsigned long long", so use of ULLONG_MAX is not
appropriate.
adjust max period (see randomid.3 1.2 -> 1.3)
2003-11-25 23:14:48 +00:00
simonb
bafaeff914 Descend into the randomid directory. 2003-11-14 23:11:20 +00:00
simonb
1fd22c15cc Add a regression test for randomid(3). 2003-11-14 23:10:48 +00:00
simonb
967d9a12d5 Add NetBSD RCS id's. 2003-11-13 06:48:31 +00:00
lukem
f85d2d1c14 Use ${HOST_SH} instead of `sh'.
If necessary, pull in <bsd.sys.mk> to get the definition of HOST_SH;
Makefiles that pull in one of (most of) <bsd.*.mk> will get this anyway.
2003-10-26 07:25:33 +00:00
kleink
d0d137fcf0 Check HUGE_VALF and HUGE_VALL as well. Also add some cross checking for
floating type promotion and demotion of these.
2003-10-25 22:38:19 +00:00
kleink
d039cc06d0 Lift the vax restriction on the nan test.
None of the tests in this directory will even build on the vax, and it's
disabled in the parent Makefile for that reason.
2003-10-24 21:25:20 +00:00
kleink
d66a9fb0bc Make this test the currently libc-internal isinfl() as well.
While I'm here, turn these into assert(3)-based tests.
2003-10-24 16:35:08 +00:00
kleink
d805d82f20 Make this test the currently libc-internal isnanl() as well.
While I'm here, turn these into assert(3)-based tests.
2003-10-24 15:54:46 +00:00
he
f9e944d1a0 While the intention of picking up the target's include files was fine,
those files are not available in certain phases in the build process,
notably the "obj" phase, so unconditionally decend into siginfo during
that pass.  This should make read-only source trees build again when
cross-compiling for a target supporting siginfo on a host not supporting
siginfo.
2003-10-23 21:59:35 +00:00
kleink
aa20eb60ec Fix a comment. 2003-10-22 23:57:04 +00:00
agc
0833278c93 Don't compare the return value of strncmp(3) against NULL - it's an integer. 2003-10-21 08:46:15 +00:00
he
4bdc6bf1cb Make sure to pick up the target's include files in the test for whether
we have SA_SIGINFO defined.
2003-10-20 00:07:47 +00:00
pk
cd1fabcef4 Writing to address 0x5a5a5a5a does not guarantee a SIGSEGV on all platforms
(e.g. on sparc, this produces a BUSERR). Just use a NUL pointer instead.
2003-10-12 17:13:46 +00:00
christos
ce8fc220ee don't descend to siginfo on platforms that don't have it. by popular demand. 2003-10-04 20:29:52 +00:00
mycroft
4aa6d02a2d Maybe I'm just slow, but having diffs in the wrong direction confuses me... 2003-09-30 04:20:24 +00:00
christos
bc895a7e30 Descend to siginfo; this will prompt the port masters to complete the
necessary work.
2003-09-26 18:13:36 +00:00
christos
2874dc149c this needs to be able to core-dump so unlimit core 2003-09-14 07:14:28 +00:00
christos
3db3349e14 Add a Makefile for the siginfo tests 2003-09-14 07:06:40 +00:00
christos
a17de3f746 Add a Makefile 2003-09-14 06:55:01 +00:00
christos
88827cce1c turn this into a proper regression test. 2003-09-14 06:54:28 +00:00