Commit Graph

285 Commits

Author SHA1 Message Date
tjr
a585a3e1d1 Add a test program for perror() that demonstrates two bugs in the
current implementation.
2002-12-19 09:46:10 +00:00
tjr
2aa20c1a1e Test that if the buffer argument (`s') to wcrtomb() is NULL then
the value of the supplied wide character is ignored and L'\0' is used
instead. Remove incorrect comments about "internal buffer" since wcrtomb()
does not have one (wctomb() does).
2002-12-19 02:01:39 +00:00
mike
6ff2965718 Add regression test for strerror()/strerror_r().
Based on:	src/lib/libc/string/strerror.c (rev 1.8)
2002-12-18 16:59:08 +00:00
phk
1f7478c270 Goto WARNS 5 with assorted changes. 2002-12-16 22:35:56 +00:00
phk
08b76459f3 Update this one too. 2002-12-16 22:01:25 +00:00
phk
8bf24ac2c1 Get the test-suite into sync with the kernel again. 2002-12-16 21:39:16 +00:00
sam
a0e044d15d add program used to exercise/test /dev/crypto symmetric crypto functionality
Obtained from:	openbsd (originally)
2002-12-14 06:23:58 +00:00
ru
c474b1700b Add a test for what was fixed in revisions 1.39 and 1.50 of
make/parse.c (allow embedded `:' and `!' in target names).

Approved by:	re
2002-11-28 13:21:32 +00:00
ru
a227a02ef4 Moved make(1) regression tests from src/Makefile to where they
belong (src/tools/regression/usr.bin/make), and use the latter
to test if make(1) is adequate for building the world.

Approved by:	re
2002-11-28 13:08:09 +00:00
davidxu
dee681e4f3 Directly load %edx from mailbox 2002-11-23 04:39:52 +00:00
davidxu
f89233ef8d Fix context restore bug. 2002-11-22 03:01:55 +00:00
julian
1f29413454 Don't flip the "we're it" bit until we are all there..
(don't fill in the mailbox pointer until we have unloaded all the
previous contents of the mailbox context block)
2002-11-22 00:23:02 +00:00
davidxu
44e386cac2 Correctly save eflags. 2002-11-21 09:48:39 +00:00
davidxu
93f8f962e2 Adjust code for new mailbox format.
Reviewed by: deischen, mini
2002-11-18 02:02:08 +00:00
tjr
b3f140b069 Add test cases for btowc() and wctob() in multibyte locales. 2002-11-10 11:03:32 +00:00
tjr
ca621988d2 Test for the zero-length buffer bug corrected in mbrtowc.c revision 1.3. 2002-11-10 10:50:42 +00:00
tjr
5349a8bc12 Add regression tests for mblen(), mbtowc(), wctomb(), mbstowcs() and
wcstombs(). These tests have already found two libc bugs.
2002-11-09 04:33:02 +00:00
tjr
2b2cb081a8 Add missing #includes of <stdio.h>. Correct a few typos in comments. 2002-11-06 09:37:47 +00:00
davidxu
45330340f4 add missing '!', don't why it was lost when checked in. 2002-11-02 10:31:22 +00:00
tjr
2e56144367 Simplify by using inference rules properly. 2002-10-28 09:05:43 +00:00
tjr
9cf397c653 Add tests for btowc(), mbrlen(), mbsrtowcs() and wcsrtombs(). 2002-10-26 07:56:47 +00:00
tjr
399bd27ee2 Add regression tests for mbrtowc(3) and wcrtomb(3). 2002-10-26 04:40:16 +00:00
jmallett
46c27244eb Hide the test in <target> under '.if make(<target>)' so as to not get any
errors/warnings related to crud in said test block.
2002-10-25 06:17:44 +00:00
phk
f74307d577 Redo reference vectors to include the mediasize and sectorsize. 2002-10-24 21:35:57 +00:00
phk
5817ad8658 Resync with kernel. 2002-10-24 21:14:05 +00:00
joe
14c86ef8ad Fix a bug that showed up when trying to produce a database for
subdirectories, and ended up making us loop forever.

Add the username to the md5 of the commit to make it slightly more
unique.

Make the 'cvs' run quietly.
2002-10-17 16:29:26 +00:00
phk
ac8ae8f278 Use in-tree libbsdxml instead of ports based libexpat.
Sponsored by:	DARPA & NAI Labs.
2002-10-05 13:16:07 +00:00
phk
80931223ac Match the new g_io_deliver() API in the kernel.
Sponsored by:	DARPA & NAI Labs.
2002-10-05 13:12:10 +00:00
phk
faad129ed6 Pass sbuf to the kernel routines to match new kernel code.
Sponsored by:	DARPA & NAI Labs
2002-10-05 13:11:01 +00:00
wollman
2c7ac0ae06 Yesterday, FreeBSD-current ate my disklabel.
Today, I wrote a program to tell me where the partitions used to be.
Now I have my /media filesystem back.
2002-10-04 03:06:16 +00:00
archie
e78968c85a -Wall'ify (mostly). 2002-10-02 17:07:39 +00:00
ru
ec9540417c test -h is deprecated; use -L instead.
PR:             bin/40846
2002-10-01 13:29:45 +00:00
phk
358e076f1a Update to match current kernel code.
Fix a couple of reference data which were found to be in error.

Sponsored by:	DARPA & NAI Labs.
2002-09-27 22:20:53 +00:00
archie
83fa65053c Adjust for KSE function name changes. 2002-09-25 18:14:38 +00:00
ache
b56aac320b Make it works with POSIX sort (POS arg)
All old sorts understand -k too.
2002-09-24 20:05:01 +00:00
julian
d29e00d18f Add ability to make threads that run on > 1 cpu
this DOES NOT WORK YET. (well it kind-of-does but it's unsafe)

Submitted by: davidxu
2002-09-23 06:18:51 +00:00
mini
eabad0146b Update the KSE test utility to the new KSE API. 2002-09-19 02:15:27 +00:00
peter
a51c9b6627 Initiate deorbit burn for the i386-only a.out related support. Moves are
under way to move the remnants of the a.out toolchain to ports.  As the
comment in src/Makefile said, this stuff is deprecated and one should not
expect this to remain beyond 4.0-REL.  It has already lasted WAY beyond
that.

Notable exceptions:
gcc - I have not touched the a.out generation stuff there.
ldd/ldconfig - still have some code to interface with a.out rtld.
old as/ld/etc - I have not removed these yet, pending their move to ports.
some includes - necessary for ldd/ldconfig for now.

Tested on: i386 (extensively), alpha
2002-09-17 01:49:00 +00:00
phk
698e63c0cd Pick up modules from the compile directory instead of /boot/kernel.
Allow the script to operate on any convenient kernel.

Submitted by:	"Matthew Emmerton" <matt@gsicomp.on.ca>
2002-09-16 09:57:10 +00:00
phk
2e40c65a70 Some change in src/share/mk seems to have made it possible to remove
50% of the active ingredients in these Makefiles.
2002-09-15 13:05:42 +00:00
phk
798f40001b Overhaul the kernel-simulation bits here to use pthreads instead.
If somebody wanted to, this could for the beginning of a "libkernel"
which could be used to run kernel code in userland.

Sponsored by:	DARPA & NAI Labs.
2002-09-13 13:13:00 +00:00
phk
2f424d1fc1 Remove magicspace from reference data.
Sponsored by:	DARPA & NAI Labs.
2002-09-06 08:51:55 +00:00
phk
33a29ee495 expat2 changed the name of their include file to expat.h
Sponsored by:	DARPA & NAI Labs.
2002-09-06 08:44:15 +00:00
phk
9b338dc04e Fix an indentation typo.
Sponsored by:	DARPA & NAI Labs.
2002-09-06 08:43:15 +00:00
phk
fe296cc3f4 Add a zeroed out sector one for the GPT hack and test T003.
Sponsored by:	DARPA & NAI Labs.
2002-09-06 08:41:48 +00:00
alfred
209edd14cb Add regression tests for sysvipc.
Submitted by: Hiten Pandya <hiten@uk.FreeBSD.org>
Obtained from: NetBSD
2002-08-15 06:34:37 +00:00
schweikh
b2bb39b1eb Fix typos; each file has at least one s/seperat/separat/
(I skipped those in contrib/, gnu/ and crypto/)
While I was at it, fixed a lot more found by ispell that I
could identify with certainty to be errors. All of these
were in comments or text, not in actual code.

Suggested by:	bde
MFC after:	3 days
2002-08-11 13:05:30 +00:00
jmallett
1e37932579 As of revision 1.38 of make/parse.c, our make(1) will warn too. Note that
this isn't just for the sake of testing behaviour, and that things really
do break if this regression occurs.
2002-07-28 03:57:08 +00:00
phk
dca0736805 Update to current reality: change COMPILEDIR and work on "R"ead-only-data
symbols as well.
2002-07-19 10:29:07 +00:00
tjr
25aa3182cb Update another mention of <CR><CR> I missed the first time around (rev 1.2) 2002-07-04 05:16:19 +00:00