ad
c1d4b532de
Allow the number of loops to specified on the command line, still
...
defaults to 1.
2007-02-06 15:08:17 +00:00
ad
8d344bc387
Oops, for uniprocessor systems these need to yield more often because
...
the threads don't get forced off the CPU.
2007-02-05 22:48:01 +00:00
ad
002869bdb7
Drop priority to MAXPRI before starting the tests.
2007-02-05 20:20:48 +00:00
ad
8c24327068
Pass in the correct LKM entry point. Noted by mhitch.
2007-02-05 20:18:43 +00:00
ad
d21838fa67
Randomise the calls to yield().
2007-01-17 21:00:50 +00:00
ad
5606d9f962
Add basic tests for kernel mutexes & rwlocks.
2007-01-17 20:56:49 +00:00
bjh21
cb9637bcff
Make regress target depend on the test program so as to ensure it gets
...
compiled.
2006-10-14 21:23:01 +00:00
christos
b7ae68fde0
Coverity CID 1194: Negative returns (from Arnaud Lacombe)
2006-09-29 14:18:25 +00:00
skrll
0ffafee1bf
GCC 4 requires -fno-reorder-blocks to ensure that RAS_START/RAS_END
...
covers the right bits of code in these tests.
2006-09-19 20:17:28 +00:00
kardel
6d944d24c9
correct usage() handling
2006-09-10 13:28:29 +00:00
kardel
2bd639915d
rename index to idx to avoid shadowing index()
2006-09-10 13:21:46 +00:00
kardel
a246979d62
add time regression test directory
2006-09-10 12:23:10 +00:00
kardel
a2576338b4
exit early on negative time deltas
2006-09-10 11:46:57 +00:00
kardel
68a8ba43dc
Add regression test to verify the monotonocity of the
...
CLOCK_REALTIME implementation
2006-09-10 11:37:04 +00:00
tsutsui
33a8df7bae
${.CURDIR}/sleeptest -> ./sleeptest for MKOBJDIR=yes case.
2006-09-09 12:20:07 +00:00
martin
f6e2a81ff9
Add -fno-reorder-blocks for gcc4, to avoid duplicate label definition
...
by RAS_END() - untill we find some better solution.
2006-09-02 21:27:41 +00:00
kardel
e3768e33c9
- add check for kevent() timeouts
...
- use err() family for error reporting
2006-07-16 22:18:46 +00:00
kardel
e67415898c
Add regressing test for timeout and sleep releated functions.
...
currently implemented tests:
- check agreement of sleep time with real time (from system)
to be within 30ms
- check for EINTR return code on processing SIGALRM signals
- check for valid residual time if available from the interface
Tested interfaces:
- nanotime(2)
- select(2)
- poll(2)
- sleep(3)
2006-07-16 19:19:39 +00:00
mrg
37d2b2a6e9
use socklen_t where appropriate.
2006-05-10 19:10:09 +00:00
mrg
26e4f3cc1c
extent_alloc_subregion1()'s 9th argument is a u_long *, not long *.
2006-05-10 19:09:11 +00:00
martti
9ea58d54bc
Upgraded IPFilter to 4.1.13
2006-04-04 16:17:18 +00:00
martti
983a2072ce
Import IPFilter 4.1.13
2006-04-04 16:08:18 +00:00
perry
0be44b35dc
Remove leading __ from __(const|inline|signed|volatile) -- it is obsolete.
2005-12-24 21:22:46 +00:00
lukem
7f4d732106
appease gcc -Wuninitialized
2005-06-02 11:10:00 +00:00
martti
58b8abcbf8
Upgraded IPFilter to 4.1.8
2005-04-03 15:05:30 +00:00
martti
c775aec128
Import IPFilter 4.1.8
2005-04-03 15:01:04 +00:00
bouyer
e9e4c49142
Add a test for the bug fixed in subr_extent.c rev 1.51.
2005-03-15 18:27:23 +00:00
martti
460bbcc960
Upgraded IPFilter to 4.1.6
2005-02-19 21:30:24 +00:00
martti
76b5d9e30f
Import IPFilter 4.1.6
2005-02-19 21:26:02 +00:00
martti
a023cb1d19
Upgraded IPFilter to 4.1.5
2005-02-08 07:01:52 +00:00
martti
4d6a62d250
Import IPFilter 4.1.5
2005-02-08 06:52:59 +00:00
perry
dd334ae584
de-__P, remove obsolete "register" declarations.
2005-02-06 06:05:18 +00:00
martti
52e16f3d20
Use correct checksum (approved by darrenr).
2005-01-06 12:20:35 +00:00
martti
7ff15b917f
Upgraded IPFilter to 4.1.3
2004-07-23 05:39:03 +00:00
martti
9e82a8bf0d
Import IPFilter 4.1.3
2004-07-23 05:33:55 +00:00
yamt
6d5c6db5cf
a test for kern_sa.c rev.1.52.
2004-07-06 12:28:20 +00:00
martti
621e9bac7f
Sync with official IPFilter
2004-03-28 09:01:26 +00:00
martti
ad9b29ed97
Import IPFilter 4.1.1
2004-03-28 08:55:20 +00:00
thorpej
1cda93b426
Use the new RAS_*() macros.
2004-03-03 21:06:07 +00:00
martin
8625845ca6
Nuke all userland uses of __HAVE_RAS in favor of runtime detection.
2004-01-18 16:47:06 +00:00
martin
9bff0c1a82
Remove previous makefile hack (disabling optimization) and add
...
__insn_barrier()s instead.
2004-01-07 19:42:22 +00:00
martin
266b7c2701
Avoid optimizations that move common code out of the RAS.
...
The compiler does not understand RAS, so it makes wrong assumptions
about the lifetime of register values.
2004-01-06 21:40:57 +00:00
martin
0d9a131abe
On archictectures not supporting RAS make this regression tests
...
print a message to that effect and let them pass.
2004-01-02 22:16:43 +00:00
lukem
f85d2d1c14
Use ${HOST_SH} instead of `sh'.
...
If necessary, pull in <bsd.sys.mk> to get the definition of HOST_SH;
Makefiles that pull in one of (most of) <bsd.*.mk> will get this anyway.
2003-10-26 07:25:33 +00:00
lukem
857ab1bdd0
use ${HOST_SH} instead of /bin/sh
2003-10-26 03:50:07 +00:00
itojun
73704c4ce4
NULL/integer mixup
2003-10-21 09:42:07 +00:00
agc
492f508473
Don't use NULL inappropriately.
2003-10-21 09:32:54 +00:00
mycroft
4aa6d02a2d
Maybe I'm just slow, but having diffs in the wrong direction confuses me...
2003-09-30 04:20:24 +00:00
mycroft
af8bef6910
Catch up with MAXINTERP changing.
2003-09-30 03:41:33 +00:00
agc
73b0a7eafd
Move UCB-licensed code from 4-clause to 3-clause licence.
...
Patches provided by Joel Baker in PR 22307, verified by myself.
2003-08-07 09:51:08 +00:00
salo
b75abedac4
netbsd.org->NetBSD.org
2003-07-26 19:38:45 +00:00
drochner
1e9cce7fef
in "make clean", remove the "results" directory
2003-06-26 16:58:57 +00:00
erh
6070c46916
Add a regression test to check that forced unmounts work correctly.
...
Bug described in PR kern/5683
2003-04-15 06:19:57 +00:00
lukem
a42bccbdfa
need to initialise the address family before bind(2) ...
2003-03-19 14:04:25 +00:00
pk
c361778eb9
Do The Right Thing with signal handlers.
2003-02-10 12:17:20 +00:00
cgd
ac1a763de3
uh, NULL terminate argv and envp arrays to be passed to execve().
2003-02-08 07:47:14 +00:00
thorpej
8139d13ab9
Add a ucontext test from Nathan's testsuite.
2003-01-30 19:47:00 +00:00
thorpej
89426e7817
Remove extra args to a printf call.
2002-12-06 02:09:24 +00:00
thorpej
9ccfeaf6c3
Fix printf formats.
2002-12-06 02:07:53 +00:00
thorpej
07111817f1
Need <string.h> for prototypes.
2002-12-06 02:06:16 +00:00
jdolecek
c12288aed8
add NetBSD RCS Id and TNF copyright
2002-11-30 09:32:58 +00:00
jdolecek
3c100b29c2
add test program for 3way select/poll collision on descriptor, problem
...
described in kern/17517
2002-11-30 09:31:31 +00:00
jdolecek
51fb890e3c
don't assume intptr_t is 'long', and cast the value appropriately
...
pointed out by Valeriy E. Ushakov
2002-11-01 20:54:32 +00:00
jdolecek
c28aaab16a
don't assume intptr_t is 'long', and cast the value appropriately
2002-11-01 09:49:47 +00:00
martin
3fcea7fb21
Include <string.h> for memset() prototype.
2002-10-29 10:59:32 +00:00
martin
78902b71ba
Include <string.h> for memset() prototype.
2002-10-29 10:39:36 +00:00
jdolecek
5f27f09bcf
descend to kqueue too, now
2002-10-29 00:48:48 +00:00
jdolecek
5205d66be0
add test program for the deadlock caused by missing knote_fdclose() call
...
in finishdup(), fixed in rev. 1.79.2.10 if sys/kern/kern_descrip.c
2002-10-12 12:02:30 +00:00
jdolecek
3c0b9064a5
make the program only await three kevents, so that it won't linger around
...
when the regression test is over
wait a while after program invocation before first echo, so that the
program would have chance to setup the kevents
2002-10-12 11:18:37 +00:00
jdolecek
a5254fcf09
fix the -n handling code
2002-10-12 11:15:08 +00:00
jdolecek
ab5d2d743d
add kqueue subdir, commented out for now
2002-10-03 07:51:10 +00:00
jdolecek
28c37e673e
Basic set of kqueue tests for various filters. Most of files based
...
on code written by Luke Mewburn.
These need to be compiled with kqueue headers and kqueue-enabled libc.
2002-10-03 07:46:02 +00:00
martti
3b6750c781
Fix checksum error
2002-09-19 08:13:31 +00:00
martti
37d5771300
Resync with official IPF
2002-09-19 08:13:25 +00:00
martti
1d1ecc3f65
Fix test invokation
2002-09-19 08:13:20 +00:00
martti
87f18f024e
Upgraded IPFilter to 3.4.29
2002-09-19 08:08:14 +00:00
martti
1b37ad3011
Import IPFilter 3.4.29
2002-09-19 07:56:23 +00:00
lukem
08c81a9c2d
some makefile de-linting
...
- list NOxxx and LDSTATIC= assignments before everything else
(especially <bsd.own.mk>)
- ensure <bsd.own.mk> is included before NETBSDSRCDIR is used
- add missing RCSids
2002-09-18 05:41:35 +00:00
lukem
17d72c8a6b
use NETBSDSRCDIR as appropriate
2002-09-18 03:54:26 +00:00
gmcgarry
70535604e4
Everyone now has CPU locks, so test them.
2002-09-16 21:08:28 +00:00
gmcgarry
49ade9e64d
Descend into ras.
2002-08-29 03:46:39 +00:00
gmcgarry
fdfb13e7a7
Add RCSIDs and copyright.
2002-08-29 03:45:33 +00:00
drochner
6ec2abba01
include <bsd.own.mk> to get MACHINE_CPU and fix conditional
2002-08-28 12:39:49 +00:00
gmcgarry
3ee9d48c4d
Regression tests for RAS. Tests the basic functionality including
...
forking and execing.
2002-08-28 07:47:18 +00:00
gmcgarry
2468902b58
A simple regression test for cpu locks.
2002-08-28 07:41:02 +00:00
grant
6742cb1812
sweep of errx/warnx, remove unnecessary trailing \n
2002-07-20 08:36:17 +00:00
martti
c4bcc0d1e6
Added ipf regression tests
2002-05-13 06:34:13 +00:00
martti
2176de5530
Import IPFilter 3.4.27
2002-05-13 06:33:09 +00:00
jdolecek
d0d585a5b2
add simple regression test for the recently fixed writev(2) bug
2002-04-09 06:10:43 +00:00
thorpej
ae1b9528dc
No need to reference .OBJDIR here.
2002-03-05 21:56:59 +00:00
itojun
0dd5877adc
put TNF 4-clause license.
...
authors - if you are okay with more relaxed license terms, or the regression
test code was derived from others, pls change them.
2002-02-21 07:38:14 +00:00
mrg
f91c336c9f
add an extent_free test.
2002-02-21 03:59:25 +00:00
enami
8146152a09
Add expected result for test9.
2002-02-20 01:26:37 +00:00
bouyer
77744dc5e1
Add a test for the bug fixed in subr_extent rev 1.45, as suggested by
...
thorpej@netbsd.org .
2002-02-09 15:58:35 +00:00
tv
220b5c059a
MKfoo=no -> NOfoo
2001-12-12 01:23:59 +00:00
tv
c0c91b1b74
Simplify a bunch of explicit ${.OBJDIR} references to make these more like
...
the rest of the tree.
2001-10-31 15:57:49 +00:00
jdolecek
eab2fb5274
add RCS id
2001-09-29 13:54:50 +00:00
jdolecek
d933d42c18
add regression test for the recently found&fixed NEW_PIPE problem
2001-09-29 13:54:19 +00:00
enami
405f874060
extent_alloc_subregion shouldn't allocate a region pasts the end of subregion.
2001-08-27 13:35:44 +00:00
cgd
65a1026492
convert to use getprogname()
2001-02-19 22:43:42 +00:00