Commit Graph

175 Commits

Author SHA1 Message Date
rwatson
c5b9f7aaed Simple attachment regression test to attach the "accf_data" accept
filter to an inet socket and check at various points during the socket
life cycle that the filter can or cannot be attached, and that once
attached that the right one is attached and that it can be queried.
2004-07-26 03:53:47 +00:00
silby
c7a11c5dc2 Add two more programs useful for testing the correctness of pipes. 2004-07-22 02:46:25 +00:00
tjr
397b943e7a Add test programs for mbsnrtowcs() and wcsnrtombs(). 2004-07-21 13:47:48 +00:00
silby
d38e57366f Make this test compile again and remove its dependency on sys/pipe.h. 2004-07-21 03:13:53 +00:00
silby
da5b50a882 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
d3949c6f08 Add a skeleton makefile that runs the tests out of libc/regex/grot. 2004-07-19 09:00:26 +00:00
tjr
c977042a24 Oops, test error behaviour of wctrans(), not wctype(). 2004-07-19 08:53:41 +00:00
das
2408fa162f 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
bd6355261f 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
6bd2f3e42b 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
f1d92593c4 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
0e83a77d19 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
e6739c645d 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
eed5bcdf34 Add qsort, mergesort and heapsort regression tests. 2004-06-25 12:31:12 +00:00
das
da6e1707d4 Add some fenv.h regression tests. 2004-06-11 03:22:34 +00:00
brooks
7db6667914 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
5ae1bd4705 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
ce5e2c9dde 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
db217681a3 Test accumulation of partial multibyte characters in conversion
state objects.
2004-05-11 13:10:47 +00:00
pjd
c5cf8dba6f 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
47a42cf8e5 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
04a9ef8e3f 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
2e05d44e28 Add regression tests for geom_concat class. 2004-03-03 21:52:49 +00:00
johan
1849fdd1ac style.Makefile(5):
Use WARNS?= instead of WARNS=.
2004-02-24 20:52:58 +00:00
green
458859b908 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
0e3db67aec 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
ef10236af2 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
b6bc039460 Added missing DPADD. 2004-02-05 22:01:28 +00:00
ru
9f8626709a 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
f9d4d91579 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
fad6079588 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
7dac4543ee 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
5a0431f630 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
ee1fa904fb 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
b4bb086357 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
d61cbe3ed8 Add regression tests for sgetrune() and sputrune(). 2003-10-30 11:51:36 +00:00
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