Commit Graph

142 Commits

Author SHA1 Message Date
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
christos
0f41b74720 remove duplicate target empty. 2001-01-14 06:35:57 +00:00
jdolecek
f4a3ee2726 add NetBSD RCS id 2000-07-30 09:16:06 +00:00
jdolecek
0c8766beed make the parent kill off it's children after it's main loop is finished.
This solves problem reported privately by Thomas Klausner, where the
regress test would take very very long to complete.
2000-07-30 08:48:31 +00:00
jdolecek
eec8346517 ptrace(PT_DETACH,...) behaves same way as PT_CONTINUE WRT addr & data;
specifically, if we pass NULL addr, we cause the child to jump
to address zero and SIGSEGV immediatelly; pass (caddr_t) 1 instead
while here, improve some error messages and slighly delint
2000-07-27 21:37:39 +00:00
matt
477556bda3 include cleanup in regress. 2000-07-03 04:02:34 +00:00
pk
bb91cdc5ac test 6 & 7: make the extent have the intended total of size 12 (noticed
by Matthias Drochner).
2000-07-02 22:36:50 +00:00
pk
0c19f5a36f Another `last boundary' test taking a different code path. This time
the allocation triggers a `boundary fixup' but should nevertheless
fit in the remaining space of the map.
2000-06-27 21:30:03 +00:00
pk
8205ce2a01 Add a test to check whether allocation succeeds beyond the last boundary
line in case the last boundary does not coincide with the extent end.
2000-06-27 21:08:30 +00:00
drochner
aed1ad645a add test cases for the boundary overflows just fixed by mrg 2000-06-16 18:50:45 +00:00
cgd
db755e7c76 sweep of my licenses (userland files w/o only my copyright) for
consistency.  (no functional changes)
2000-06-14 17:24:02 +00:00
cgd
d220ca5ba3 fix up NetBSD RCS Ids to match the standard, and the leading comment as
to match as well.  No functional changes.
2000-06-14 06:48:47 +00:00
sommerfeld
3201cef754 Lockf regression test. 2000-06-12 14:42:02 +00:00
thorpej
cae2b7cc11 Clean up warnings, enable WARNS=1. 2000-06-06 17:30:41 +00:00
thorpej
d20c2ec7d2 - Kill some warnings, and enable WARNS=1.
- Use CMSG_SPACE() and CMSG_DATA() properly; don't define structures
  to hold messages, which will not have the correct alignment after
  the cmsg header.
2000-06-05 06:01:42 +00:00
kleink
3c2c0b888e Don't rely on <stdio.h> making visible identifiers from <sys/types.h>. 2000-03-06 18:51:57 +00:00
christos
52bb917ad0 Make this work properly with the X/Open spec of semctl(2). 2000-01-31 15:10:34 +00:00
mycroft
644cd96c07 Clean all the files... 2000-01-24 03:01:54 +00:00
mycroft
1ac1e1c19c Don't link with -N. 2000-01-24 00:10:22 +00:00
enami
655a89ab8a Specify libgcc_spec after lib_spec when DESTDIR is defined to keep
consistency with the case DESTDIR is not define.  This is part of PR#8369.
1999-09-25 13:06:36 +00:00
thorpej
51e12b8455 Add the SVID IPC tests. 1999-08-25 05:16:41 +00:00
thorpej
708b54cada Add a simple (very simple) test program for the System V Semaphores
facility.

XXX No, really, this is very simple.  It tests but a small fraction of
this facility, but it is enough to verify that I didn't break anything
with some forthcoming changes to the kernel.
1999-08-25 04:35:34 +00:00
thorpej
0eb52fcc16 Sanity check the data in the reciver. 1999-08-24 23:17:46 +00:00
thorpej
6aae223af2 Be more careful when sanity checking the message queue mode. 1999-08-24 23:03:03 +00:00
thorpej
aa3711786b Add a simple test program for the System V Shared Memory facility. 1999-08-24 23:01:56 +00:00
thorpej
6543a6ec9b Fix a thinko in a comment. 1999-08-24 22:36:33 +00:00
thorpej
19284c2ebf oops, err() -> errx() in a couple of places. 1999-08-24 22:26:49 +00:00
thorpej
58de5d9be1 Add a simple test program for the System V Message Queues facility. 1999-08-24 22:08:56 +00:00
sommerfeld
9ee533d1f6 Let builder define DESTDIR in mk.conf or 1999-08-01 13:42:00 +00:00
sommerfeld
8da02df781 Add permission checking (execute-only innermost directory) 1999-07-11 09:54:41 +00:00
ws
ea80527b05 Add test code for synchronizing caches for signal trampoline code 1999-07-08 17:37:35 +00:00
sommerfeld
29c9d4318d Compensate for fix to PR7761; kernel now clips overly large length 1999-06-19 18:02:06 +00:00
drochner
71761c5d0c add "extent" 1999-06-02 15:57:18 +00:00
drochner
0b0421ba76 first cut on a testsuite for sys/kern/subr_extent.c 1999-05-11 19:14:50 +00:00
sommerfe
bb8c6c869a move __getcwd prototypes to libc-private header file.
XXX duplicate the prototype in getcwd regression test (which needs to
call the syscall directly for reasonably complete testing).
1999-03-26 22:23:57 +00:00
sommerfe
3c618b8f06 fail more gracefully if not root 1999-03-26 13:14:12 +00:00
sommerfe
9f81ab06ab Make this a more thorough test of file descriptor passing 1999-03-22 18:19:54 +00:00
sommerfe
bada23909e getcwd regression test. 1999-03-22 18:14:39 +00:00
is
1fd3c6d48f Copy test scripts to objdir and make them executable, to be sure
they are. We don't chmod +x them in-place because the src directory
tree might be read-only.
Fixes PR 6554, but differently.
1999-02-18 11:59:06 +00:00
is
6361091563 The expected output strings are C locale error strings.
We unsetenv("LANG") so that this test works even when LANG was set.
1999-02-18 10:37:26 +00:00
lukem
dcab0210a0 convert from NOxxx= to MKxxx=no.
include <bsd.own.mk> if testing a MKxxx variable.
1999-02-13 02:54:17 +00:00
mycroft
665d14aa61 Make this a little more flexible, and adjust to catch
a particular error.
1999-01-21 09:54:23 +00:00
castor
f98014a408 Fix type for LIBCRTEND and order other startup routines to come before
the main test.
1999-01-10 02:54:12 +00:00
mjacob
a7739b174d This should be noninvasive, and allows my builds to finally work on alpha
(DESTDIR being set case...).
1998-12-21 07:58:52 +00:00
wrstuden
0c991b5c91 Make this cross-compile right. 1998-09-12 20:17:43 +00:00
thorpej
d7b0b872a8 Use PF_* for socket(2) calls. 1998-06-24 23:51:30 +00:00
cgd
4974bdbd9b no point in LDSTATIC=-static here 1998-03-02 21:57:38 +00:00
cgd
9c995abe57 note that only static compilation makes sense here 1998-03-02 19:58:19 +00:00
lukem
f22f6c8ba3 add unfdpass 1998-01-09 13:39:57 +00:00
perry
3fe138c146 RCS Id Police. 1998-01-09 08:03:16 +00:00
thorpej
81b7dbe92b Rewrite this to also test passing credentials. 1998-01-07 23:38:53 +00:00
thorpej
1ca58a0f3f Add a regression test to test passing of multiple file descriptors as
Unix domain socket ancillary data.
1998-01-07 03:53:00 +00:00
is
3afbd0a446 Cleanup the regress: _SUBDIRUSE after making "make regress" work, by
Charles Hannum.
1997-09-30 23:15:41 +00:00
mycroft
6e0450c70f Use proginstall:: to disable installing PROG. 1997-05-07 15:59:08 +00:00
cgd
a441b518cd RCS Id conventions 1995-04-20 22:37:12 +00:00
glass
b199d3272d remove extra tab 1995-03-01 18:29:04 +00:00
mycroft
3dbc1e9443 Patch from Giles Lean to make compilation flags more consistent. 1995-01-07 23:07:03 +00:00
jtc
fc1d8f3bac Fix spelling error in Copyright notice 1994-01-29 01:54:01 +00:00
cgd
7e5b2fafce add some regression tests for execve() 1994-01-14 05:24:28 +00:00