Commit Graph

139 Commits

Author SHA1 Message Date
ru
f246003ac7 Fix a bug that prevented exists() from finding "foo/", "foo/."
and "foo/.." when ".PATH: foo" was also given.

PR:		bin/34062
2003-10-02 21:30:30 +00:00
pb
ee50ebe269 Add a regression test for the big pipe bug.
Suggested by: silby
2003-07-31 12:40:56 +00:00
dds
739de7fe1d Test 8.16 in sed.test tests the ability of a sed to handle an empty
regular expression as the first argument to a substitute command. If
used to test a sed which (erroneously) evaluates this at translation
time rather than at execution time, the bugged sed is put into an
infinite loop. This mode of failure seems excessive. Such a failing
sed is the Free Software Foundation's sed 3.02.

The specific test was also not being executed for the BSD sed.

Both problems are now fixed.

PR:		misc/25585
Submitted by:	Walter Briscoe <w.briscoe@ponl.com>
Approved by:	schweikh (mentor)
MFC after:	2 weeks
2003-07-22 19:22:08 +00:00
ru
4360edf5db Fixed broken arithmetic expression parser.
Reminded by:	bde
In memory of:	alane
2003-07-04 13:33:48 +00:00
das
9f4938168b Add regression tests for floating point parsing in scanf(3). 2003-06-28 09:03:44 +00:00
tjr
8dfc0712c7 Regression tests for wctype(), iswctype(), wctrans(), towctrans(). 2003-06-06 09:42:21 +00:00
fanf
dc25e19e71 Add tests for the behaviour of substitution when the regex can match
a zero-length string. This shows bugs in the s///g and s///2+ cases.
2003-06-04 15:26:23 +00:00
phk
08edb67197 write pattern to /dev/ccd3 not /dev/ccd3c 2003-06-02 19:49:09 +00:00
jkh
5d673c0d92 Sync with latest and greatest Apple sources (which, among other things, fix
the style flag).

Submitted by: Conrad Minshall <conrad@apple.com>
Reviewed by: jkh
Obtained from: Apple Computer, Inc.
2003-04-23 23:42:23 +00:00
das
3214ca63ea Add a dozen new tests with the general theme of getting trailing
zeroes right.
2003-04-19 23:53:34 +00:00
das
2fd827a8bc Add a test case for printf("%5.0f", 0.001). 2003-04-14 11:26:32 +00:00
phk
8442c472ba Remove the "run GEOM in userland harness" test stuff, it's been OBE. 2003-04-13 09:11:47 +00:00
phk
54f789d581 Give mdconfig a couple of seconds to deconfigure in case debugging is being
printed to a serial console.

Reverse the order of args to diff to make it more logical.
2003-04-13 09:06:39 +00:00
phk
b39572e7fa Update these two reference vectors. 2003-04-09 13:36:28 +00:00
phk
e66eeacdc8 Add script to run kernel based regression test and the reference vectors
for the current XML images.
2003-04-09 12:40:12 +00:00
phk
052492c05d Utility to load one of our XML images into a MD(4) device. 2003-04-09 12:34:20 +00:00
das
baf74df098 Additional regression tests for grouping, parsing of '.*', and printing
of %f formats where the number of significant digits is < expt.
2003-04-07 00:42:49 +00:00
tjr
3b10d8d86d Test for bug in revision 1.54 of vfprintf.c. 2003-04-06 08:02:20 +00:00
das
38500c73db Regression tests for printf()'s floating point formats.
Tests for correct printing of subnormals are lacking.
2003-04-05 22:13:01 +00:00
das
4f4d465008 Write negative zero as '-0.0'. Otherwise, it is parsed as an integer
before being cast to a floating point type, and the sign is lost.
2003-03-27 05:32:28 +00:00
phk
e196887b27 Fix a bug in the white-space remover. 2003-03-04 19:20:52 +00:00
gad
ba1743e91b The regression-tests for 'make' *expect* to trigger make's warning:
warning: duplicate script for target "double" ignored
The regression-tests do try to hide that message, but the message does
still appear when using -j (eg: 'make -j5 buildworld').  This changes the
regression-test so the expected warning message will not be seen even
when -j is specified.

Reviewed by:	jmallett  ru
2003-02-10 19:56:42 +00:00
mike
d5b741d9d9 Add more tests. Specifically, infinity cast from other types should
always be classified as infinity.
2003-02-08 20:45:48 +00:00
mike
a56314b4dc Add regression test for soon-to-be-committed fpclassify(). 2003-02-05 16:40:18 +00:00
phk
36fcf2dae6 Update reference vectors to include BSD's <type> output. 2003-01-31 18:59:12 +00:00
phk
bbd6f8d1ff Add Apple partitioning test case.
Use correct name for image data file
2003-01-31 18:31:48 +00:00
phk
1b12d97b50 Add more scaffolding to make this compile kernel code. 2003-01-28 09:48:59 +00:00
phk
5259549792 Add a regression test for ccds layout policy. 2003-01-17 12:23:44 +00:00
phk
dd794eda3b geom_bsd need -lmd to link now. 2003-01-06 20:11:32 +00:00
tjr
3ef27dc5c5 Add a regression test for wordexp() and wordfree(). 2003-01-04 05:50:35 +00:00
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
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
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
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
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