Commit Graph

286 Commits

Author SHA1 Message Date
Tim J. Robbins
889c37ceb3 Add a regression test for wordexp() and wordfree(). 2003-01-04 05:50:35 +00:00
Poul-Henning Kamp
d162136327 Add various command line options, most notably sort order.
Submitted by:	"Matthew Emmerton" <matt@gsicomp.on.ca>
Sat on for far too long:	phk
2003-01-03 17:21:39 +00:00
Jens Schweikhardt
d64ada501a Fix typos, mostly s/ an / a / where appropriate and a few s/an/and/
Add FreeBSD Id tag where missing.
2002-12-30 21:18:15 +00:00
Tim J. Robbins
a932a3f4b5 Add a test program for perror() that demonstrates two bugs in the
current implementation.
2002-12-19 09:46:10 +00:00
Tim J. Robbins
7d5a41c359 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 Barcroft
ac3f0d298f 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
Poul-Henning Kamp
adb72768ea Goto WARNS 5 with assorted changes. 2002-12-16 22:35:56 +00:00
Poul-Henning Kamp
6f8a5ea200 Update this one too. 2002-12-16 22:01:25 +00:00
Poul-Henning Kamp
a99aa4c483 Get the test-suite into sync with the kernel again. 2002-12-16 21:39:16 +00:00
Sam Leffler
5df0c0ea08 add program used to exercise/test /dev/crypto symmetric crypto functionality
Obtained from:	openbsd (originally)
2002-12-14 06:23:58 +00:00
Ruslan Ermilov
be8b43b4c7 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
Ruslan Ermilov
113cf9e649 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
David Xu
2442bdd81b Directly load %edx from mailbox 2002-11-23 04:39:52 +00:00
David Xu
8773cd90dd Fix context restore bug. 2002-11-22 03:01:55 +00:00
Julian Elischer
c2f7aa6939 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
David Xu
c823c95038 Correctly save eflags. 2002-11-21 09:48:39 +00:00
David Xu
4ab365e720 Adjust code for new mailbox format.
Reviewed by: deischen, mini
2002-11-18 02:02:08 +00:00
Tim J. Robbins
85fafcf803 Add test cases for btowc() and wctob() in multibyte locales. 2002-11-10 11:03:32 +00:00
Tim J. Robbins
99eabcc8c3 Test for the zero-length buffer bug corrected in mbrtowc.c revision 1.3. 2002-11-10 10:50:42 +00:00
Tim J. Robbins
10acac81ab 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
Tim J. Robbins
89861638ca Add missing #includes of <stdio.h>. Correct a few typos in comments. 2002-11-06 09:37:47 +00:00
David Xu
455fc5775f add missing '!', don't why it was lost when checked in. 2002-11-02 10:31:22 +00:00
Tim J. Robbins
9805beec05 Simplify by using inference rules properly. 2002-10-28 09:05:43 +00:00
Tim J. Robbins
ec6b67d043 Add tests for btowc(), mbrlen(), mbsrtowcs() and wcsrtombs(). 2002-10-26 07:56:47 +00:00
Tim J. Robbins
1ba72e3513 Add regression tests for mbrtowc(3) and wcrtomb(3). 2002-10-26 04:40:16 +00:00
Juli Mallett
5661d4a7b9 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
Poul-Henning Kamp
4ccd39164f Redo reference vectors to include the mediasize and sectorsize. 2002-10-24 21:35:57 +00:00
Poul-Henning Kamp
f761b0e1cb Resync with kernel. 2002-10-24 21:14:05 +00:00
Josef Karthauser
555b7ddc31 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
Poul-Henning Kamp
5624b2d4d3 Use in-tree libbsdxml instead of ports based libexpat.
Sponsored by:	DARPA & NAI Labs.
2002-10-05 13:16:07 +00:00
Poul-Henning Kamp
af65c5b73f Match the new g_io_deliver() API in the kernel.
Sponsored by:	DARPA & NAI Labs.
2002-10-05 13:12:10 +00:00
Poul-Henning Kamp
a05c5b8c1a Pass sbuf to the kernel routines to match new kernel code.
Sponsored by:	DARPA & NAI Labs
2002-10-05 13:11:01 +00:00
Garrett Wollman
92d0f59903 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 Cobbs
a46898f1ef -Wall'ify (mostly). 2002-10-02 17:07:39 +00:00
Ruslan Ermilov
7206028152 test -h is deprecated; use -L instead.
PR:             bin/40846
2002-10-01 13:29:45 +00:00
Poul-Henning Kamp
967970bab6 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 Cobbs
58324e0e8e Adjust for KSE function name changes. 2002-09-25 18:14:38 +00:00
Andrey A. Chernov
6fd04a1f52 Make it works with POSIX sort (POS arg)
All old sorts understand -k too.
2002-09-24 20:05:01 +00:00
Julian Elischer
8b07f30311 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
Jonathan Mini
821836b0e2 Update the KSE test utility to the new KSE API. 2002-09-19 02:15:27 +00:00
Peter Wemm
66422f5b7a 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
Poul-Henning Kamp
f4f9b36d57 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
Poul-Henning Kamp
2a6f01533e 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
Poul-Henning Kamp
6309b291ec 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
Poul-Henning Kamp
029b6c5c27 Remove magicspace from reference data.
Sponsored by:	DARPA & NAI Labs.
2002-09-06 08:51:55 +00:00
Poul-Henning Kamp
469113b2d7 expat2 changed the name of their include file to expat.h
Sponsored by:	DARPA & NAI Labs.
2002-09-06 08:44:15 +00:00
Poul-Henning Kamp
65884326be Fix an indentation typo.
Sponsored by:	DARPA & NAI Labs.
2002-09-06 08:43:15 +00:00
Poul-Henning Kamp
593e172b03 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 Perlstein
ba05755c4b Add regression tests for sysvipc.
Submitted by: Hiten Pandya <hiten@uk.FreeBSD.org>
Obtained from: NetBSD
2002-08-15 06:34:37 +00:00
Jens Schweikhardt
2b239dd118 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