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
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
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
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
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
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
tjr
f3c503c6ca
Note that two carriage returns aren't required after entering the
...
initial setup anymore (since process.c rev. 1.25). Add $FreeBSD$.
MFC after: 2 weeks
2002-07-03 14:42:53 +00:00
jmallett
583e068778
The wrong y/// output got spammed into this file; from green@ indirectly.
2002-06-27 16:07:51 +00:00
green
14942ad80d
Correct the psl regression test for sed(1)'s now-fixed newline
...
behavior. Add the bcb regression test which checks for failures due
to a backslash ('\') coinciding with the very last character of the
command buffer. The regression test is cf. this PR (which I did not
know about) and has a different fix for the bug.
PR: bin/22351
Submitted by: Stefan Duerholt <stefan.duerholt@t-online.de>
2002-06-27 15:58:59 +00:00
jmallett
1163aebcf2
Erk, I forgot that regress.in has an ending newline, so change the test for
...
transliterate to use echo -n to supress newline and a simple string.
2002-06-26 16:57:36 +00:00
jmallett
44b97afa34
Reduce internal code duplication, add REGRESSION_PASSFAIL([testname]) to
...
handle printing of the PASS/FAIL messages. Suffix PASS/FAIL/FATAL with the
string (in $directory) where $directory is ${.CURDIR} from make(1), to
make it easier to use grep(1) and a bit of sed/awk to do statistics of
failure for some utilities over time, etc.
2002-06-25 12:40:04 +00:00
jmallett
9cfbe015d8
Add a regression test for transliterate which happens to match characters
...
at an EOL/EOF, and therefore should catch the broken behaviour fixed by
Tim J. Robbins in sed(1) recently.
Suggested by: obrien
2002-06-25 12:10:09 +00:00
jmallett
28b8ebcfcb
I explicitly meant to not move any of this over to the new m4(1) framework,
...
even slightly. Grrr CVS.
2002-06-24 14:29:19 +00:00
jmallett
9d6012e9cf
Move all remaining tests except for:
...
make(1): Does not work like the other tests. Its Makefile is
self-testing.
m4(1): It uses complex voodo to test GNU m4(1) features.
To the new framework. I had worried about passing the binary data that
uudecode(1)'s test passes to diff(1) might give a user something nasty,
but this is unlikely to happen as even with an unmodified old nasty
diff(1) which doesn't recognise many binary files, these binary files
are recognised. Using $DIFF instead of `diff' in the library and making
it possible to override this with `cmp -s' might be nice some day, but
as of this second, there's no immediate need.
2002-06-24 14:22:44 +00:00