Commit Graph

172 Commits

Author SHA1 Message Date
silby
c4c8fe2a65 Make this test compile again and remove its dependency on sys/pipe.h. 2004-07-21 03:13:53 +00:00
silby
9d4a4d9654 Add a simple regression test for the stat st_size bug just fixed in
sys_pipe.c
2004-07-20 07:17:19 +00:00
tjr
cb9a92a035 Add a skeleton makefile that runs the tests out of libc/regex/grot. 2004-07-19 09:00:26 +00:00
tjr
cbb0c3e7e4 Oops, test error behaviour of wctrans(), not wctype(). 2004-07-19 08:53:41 +00:00
das
59042d40fb While testing fe[gs]etround(), make sure FLT_ROUNDS reflects the
proper rounding mode as well.
2004-07-19 08:17:47 +00:00
rwatson
8410389bc8 Explicitly specify ATPROTO_DDP constant rather than '0' when binding
a netatalk socket.  No functional change.
2004-07-17 17:16:16 +00:00
rwatson
404f79af07 Add a simple tool to bind netatalk sockets and perform send operations.
This isn't a classic regression test in that it doesn't have a notion of
pass fail, it's more of an exercise tool.  It attempts to exercise
unbound, bound, unconnected, and connected variations on SOCK_DGRAM
sockets.
2004-07-17 17:12:15 +00:00
rwatson
12e25dfd84 gcc now objects to a default label without any contents. Because I want
to have a comment present in the default case, add a 'break' to each
default case that previously had no actual statements.
2004-07-17 17:01:25 +00:00
rwatson
1cdf9caa87 Add simple regression test to detect leakage of file descriptors when
accept() returns EAGAIN on a non-blocking listen socket.  This is the
tool I used to check that such a bug was resolved when merging accept()
locking.
2004-07-17 16:56:46 +00:00
harti
178e54f4c0 Use and explicite 'sh' to run the scripts, because they may be checked
out non-executable.
2004-07-09 08:59:15 +00:00
sobomax
affea64b79 Add qsort, mergesort and heapsort regression tests. 2004-06-25 12:31:12 +00:00
das
c9ecec5795 Add some fenv.h regression tests. 2004-06-11 03:22:34 +00:00
brooks
0a81fed605 Fix stupid patch(1) tricks. Apparently patch thinks all files match the
empty file so if you accidently apply a patch created with diff -N
twice, you get files with duplicate contents.

Reported by:	Antoine Brodin <antoine.brodin at laposte.net>
2004-05-27 17:23:32 +00:00
brooks
ea6066d37c Add support for an /etc/eui64 file modeled on /etc/ethers. The API is
modeled on ethers(3) except that all functions are thread-safe.

Reviewed by:	simokawa
2004-05-26 22:58:06 +00:00
pjd
81e3aa711e Add regression tests for geom_stripe and geom_nop.
Supported by:	Wheel - Open Technologies - http://www.wheel.pl
2004-05-22 10:58:53 +00:00
tjr
cfc666e8a7 Test accumulation of partial multibyte characters in conversion
state objects.
2004-05-11 13:10:47 +00:00
pjd
87a75beb50 Add regression tests for GEOM Gate:
- test-1.sh - Tests ggatec(8) and ggated(8) on lo0.
	- test-2.sh - Tests ggatel(8) on a regular file.
	- test-3.sh - Tests ggatel(8) on a md(4) device.
2004-05-03 18:29:54 +00:00
smkelly
4cfef6bc74 A new version that does exponents and lots of other neat things. Update
from the original author of math.sed.

Submitted by:	K S Braunsdorf <sed@ksb.npcguild.org>
2004-05-01 02:15:58 +00:00
tjr
e6efe171b5 Reset internal conversion state after triggering conversion errors;
the state is undefined according to the standards, and our undefined
behaviour has changed.
2004-04-07 11:02:51 +00:00
pjd
362f162869 Add regression tests for geom_concat class. 2004-03-03 21:52:49 +00:00
johan
217f22fa03 style.Makefile(5):
Use WARNS?= instead of WARNS=.
2004-02-24 20:52:58 +00:00
green
fe8d4bfb3f Add some more comments and a -4 argument to restrict searches to only
A (not default A and AAAA) records.  Now the longest time that a -4
thread might hang trying to resolve is only 2:30 instead of 5:00 ;)
2004-02-21 22:42:54 +00:00
green
9453e7bc97 Print the maximum resolution time encountered by each thread. Did you
know that the resolver might keep trying on a getaddrinfo() for up to
FIVE MINUTES?
2004-02-21 02:52:49 +00:00
green
604608549f Add my getaddrinfo(3) stress-tester as gaithrstress. The most obvious
regressions would be to see the program or your kernel crashing.

If you want to give it something to really test out, try a much more
reentrant version of the resolver.
<URL:http://green.homeunix.org/~green/reentrant_resolver.patch>
Any Mozilla-based browser would show you a clear difference.
2004-02-20 16:54:01 +00:00
ru
74133e2d19 Added missing DPADD. 2004-02-05 22:01:28 +00:00
ru
6c9e7e02fe Add a test for what was broken in rev. 1.28 and fixed in rev. 1.29
of make/str.c.
2004-01-30 09:46:28 +00:00
ru
8043a8df3f Add a test for what was fixed in revs. 1.28 and 1.29 of make/str.c. 2004-01-29 22:51:36 +00:00
harti
260261dfcd These scripts run the protocol test suites for the SSCOP, SSCF-UNI and
UNI protocols. The actual test suites are not in these directories because
of their size. One needs to install the atmsupport port (the script
will remind you, if it cannot find the port).

The SSCOP test suite includes booth the ETSI and the ITU-T test suite,
the SSCF-UNI test suite is home grown and the UNI test suite is the
P2MP ETSI test suite. Others may follow.
2004-01-29 16:01:57 +00:00
harti
de7bd42210 Add a simple test script for the ng_atmpif node.
Submitted by:	Vincent Jardin <vjardin@free.fr>
2004-01-29 15:58:06 +00:00
das
b34ba9267d Add regression tests for printf's %a/%A formats.
While here, disable some of the long double tests on i386, since
FreeBSD/i386 is the only port that doesn't evaluate long doubles in
their full precision (due to constant folding bugs in gcc).
2004-01-19 05:59:07 +00:00
das
8bba23bcd3 Add regression tests for some of the bugs recently discovered in the
vendor's strtod() implementation.

While here, disable some of the long double tests on i386, since
FreeBSD/i386 is the only port that doesn't evaluate long doubles in
their full precision (due to constant folding bugs in gcc).
2004-01-19 05:30:56 +00:00
das
0215d69e21 Work around a recently-introduced gcc bug. The compiler no longer
accepts certain floating point constant representations that are
legal in C99.
2004-01-18 07:06:21 +00:00
tjr
62bcef1682 Add regression tests for sgetrune() and sputrune(). 2003-10-30 11:51:36 +00:00
ru
146749407a 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
37d1e2a28b Add a regression test for the big pipe bug.
Suggested by: silby
2003-07-31 12:40:56 +00:00
dds
e63265f52e 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
cdcbe8608c Fixed broken arithmetic expression parser.
Reminded by:	bde
In memory of:	alane
2003-07-04 13:33:48 +00:00
das
93aea3745b Add regression tests for floating point parsing in scanf(3). 2003-06-28 09:03:44 +00:00
tjr
9745d1764e Regression tests for wctype(), iswctype(), wctrans(), towctrans(). 2003-06-06 09:42:21 +00:00
fanf
4e945b3f5b 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
278607153e write pattern to /dev/ccd3 not /dev/ccd3c 2003-06-02 19:49:09 +00:00
jkh
b716130c1a 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
4e8109e248 Add a dozen new tests with the general theme of getting trailing
zeroes right.
2003-04-19 23:53:34 +00:00
das
110311caae Add a test case for printf("%5.0f", 0.001). 2003-04-14 11:26:32 +00:00
phk
4b87470a2d Remove the "run GEOM in userland harness" test stuff, it's been OBE. 2003-04-13 09:11:47 +00:00
phk
5d303dec9a 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
eb1f6a15dc Update these two reference vectors. 2003-04-09 13:36:28 +00:00
phk
823e452c77 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
4a8f01d66d Utility to load one of our XML images into a MD(4) device. 2003-04-09 12:34:20 +00:00
das
1afae3c241 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