christos
291dafda34
tests for recvmmsg
2012-06-22 18:45:23 +00:00
christos
40114b997c
PR/46602: Move the rfc6056 port randomization to the IP layer.
2012-06-22 14:54:34 +00:00
bouyer
c3ff6f17e5
Disable the mmap_block test again, it doesn't panic when mmaping /dev/wd0d
...
only by accident. PR kern/46592.
2012-06-14 17:47:58 +00:00
njoly
e1828ac1bb
Skip sigbus_adraln testcase on alpha unless global
...
machdep.unaligned_sigbus sysctl is enabled.
2012-06-13 11:45:17 +00:00
christos
c38c69a23f
check thread limit
2012-06-12 23:56:19 +00:00
njoly
8d31656afc
New testcase to check limits flags for ulimit builtin.
2012-06-11 18:32:59 +00:00
martin
b0ac20cc38
Degrade all intermediate failures due to memory/resource shortage to
...
"skip" instead of "fail" - only if we get through to the real meat, we
can tell wether mlockall/mincore work or not.
2012-06-08 07:18:58 +00:00
martin
fd9e5c02e3
Revert previous - instead of guessing the amount of needed memory locked
...
limits (often way too high) and skipping the test case if in doubt,
raise the limits as far as we can, and fix a few places in the test where
we could run into the limits and either skip or fail with a reasonable
message.
2012-06-07 09:59:51 +00:00
martin
c1004a7836
Add a basic test for infocmp - this would have cought todays terminfo
...
lossage (PR lib/46553).
2012-06-06 21:23:10 +00:00
martin
7a598c266d
Try to estimate the number of locked pages the mincore() test will need and
...
check it against resource limits, skipping the tests if it probably is too
low.
2012-06-05 08:44:21 +00:00
joerg
fc67b0cd11
Switch terminfo(3) to cdb(5).
2012-06-03 23:19:09 +00:00
joerg
1907ec3a61
Switch device database to cdb(5). Rework ttyname(3) and ttyname_r(3) to
...
depend on new devname_r(3) as heart. Add /dev/pts magic directly to
devname(3). While it can lead to returning non-existing paths, the
behavior is more consistent that way. Drop caching layer in devname(3),
it doesn't buy anything for the common case of having access to the
database. Teach devname(3) proper fallback behavior of scanning /dev.
Create both old-style and new-style database for now in /etc/rc.d/sysdb.
2012-06-03 21:42:44 +00:00
dsl
9ba407934a
Fix build - delete extra &
2012-06-03 10:59:44 +00:00
joerg
49d8b9bb05
Spell NetBSD correctly.
2012-06-03 02:10:46 +00:00
martin
86b8339d8d
adapt to new reality
2012-06-02 16:52:18 +00:00
njoly
f567e6f954
Adjust test for recent atf_machine (amd64) -> atf_arch (x86_64)
...
change.
2012-06-02 14:52:28 +00:00
martin
9c63b84225
Do not skip the block device mmap test, as it does not crash
...
the kernel any more. Mark it as expected failure instead.
2012-06-01 15:59:21 +00:00
martin
78b7b66d90
Add a (skipped for now) test case for PR 46463
2012-05-31 20:31:07 +00:00
jruoho
88bb4c68e1
Add patch from Tetsuya Isaki in PR lib/46433.
2012-05-30 15:14:10 +00:00
jruoho
c4e17f798c
Use "atf_arch" instead of "atf_machine"; see atf-config(1).
2012-05-30 15:11:58 +00:00
martin
f124f6239d
Skip test on non-amd64 machines for now, pointing to PR 46490.
2012-05-30 06:01:22 +00:00
martin
8fa6d6191d
Not a good idea to continue testing if basic assertions fail - only will
...
cause core dumps later.
2012-05-28 09:51:34 +00:00
martin
a0f17796a7
Fix destination directory
2012-05-27 22:57:24 +00:00
christos
a534436e93
one too many e's
2012-05-27 19:21:26 +00:00
christos
d1cc87bd78
hook in libexecinfo
2012-05-27 18:52:16 +00:00
christos
5212b5c3e8
add a test for the backtrace function.
2012-05-27 18:47:18 +00:00
martin
3a550d746a
Simplify creation of a temporary file slightly, fix sizeof(buf) confusion
...
when buf is a pointer.
2012-05-23 16:08:32 +00:00
martin
6a653c6635
Typo in comment
2012-05-22 09:23:39 +00:00
martin
6c3cc552c2
Calling _lwp_create() with a bogus ucontext could trigger a kernel
...
assertion failure (and thus a crash in DIAGNOSTIC kernels). Independently
discovered by YAMAMOTO Takashi and Joel Sing.
To avoid this, introduce a cpu_mcontext_validate() function and move all
sanity checks from cpu_setmcontext() there. Also untangle the netbsd32
compat mess slightly and add a cpu_mcontext32_validate() cousin there.
Add an exhaustive atf test case, based partly on code from Joel Sing.
Should finally fix the remaining open part of PR kern/43903.
2012-05-21 14:15:16 +00:00
jruoho
959e675b20
Make the test pass. It appears that this however does not reproduce the
...
PR kern/46463, even though the command is exactly the same.
2012-05-19 07:30:37 +00:00
jruoho
63e8388028
Clarify this a little.
2012-05-18 15:36:21 +00:00
jruoho
af62c3b4d8
Add a test case for PR kern/46463. From Richard Hansen.
2012-05-18 15:25:25 +00:00
martin
cfbccd804b
mmap_block:
...
do not use a hardcoded block device list, but query the kernel for attached
disks instead, then try to mmap the raw partition.
2012-05-16 19:12:59 +00:00
jruoho
5c4e704752
Remove also redundant comment (the reference to the PR is already in the
...
metadata).
2012-05-16 13:54:28 +00:00
martin
7c32638bb1
Simplify the test for PR kern/4645 and make it independend of resource
...
settings.
2012-05-16 13:48:35 +00:00
wiz
d00eda4ad2
Fix typo in comment.
2012-05-16 11:45:08 +00:00
martin
90aaec5d8a
Enable the test for PR kern/46457 now that it does not crash the
...
kernel any more.
2012-05-16 09:51:58 +00:00
jruoho
b1a7d876eb
Add a case for PR kern/46457. This is skipped for the time being, as it
...
reproduces the panic described in the PR.
2012-05-16 09:06:35 +00:00
alnsn
c5290ad075
Test a bug found by Geza Herman.
2012-05-15 18:46:20 +00:00
riastradh
35d57656cd
Adjust t_renamerace now that ext2fs and ffs have good rename.
2012-05-09 00:22:26 +00:00
wiz
4739fc03e4
Adapt to repository move of dist from external/bsd/bzip2 to
...
external/bsd/bzip2/dist.
2012-05-07 08:51:47 +00:00
wiz
3815d29a7f
Finish move of bzip2 from dist/bzip2 to external/bsd/bzip2.
2012-05-07 00:35:25 +00:00
martin
d0518d9cf8
Comment out the expected failure, as it does not trigger anymore.
2012-05-06 17:27:22 +00:00
martin
c06a8560ae
Revert previous, si_addr is expected to be the faulting *data* address
...
(mmm, consistent standards).
Add a few tweaks to prevent the compiler's optimizer outsmarting the test.
2012-04-23 15:07:56 +00:00
martin
51f1919a26
Do not compare si_addr (address of faulting instruction) against the
...
unaligned data address causing the fault - this will always fail.
If anybody knows a portable way to get the data address involved in the
fault, please fix the test case as originally intended.
2012-04-22 08:52:26 +00:00
jruoho
2ef8e9d811
Avoid harmless compiler (integer) warnings.
2012-04-21 01:15:13 +00:00
manu
ae04a0ba81
Do not set PUFFS_KFLAG_CACHE_FS_TTL for PUFFS tests
2012-04-21 01:03:46 +00:00
jruoho
71224831e0
Add few unit tests for mlock(2), including a case for PR kern/44788.
2012-04-20 12:11:29 +00:00
jruoho
84c32e5f2a
For now, skip module tests if modctl(8) fails either with EPERM or ENOSYS.
2012-04-20 05:41:25 +00:00
jruoho
c69613ea1e
Close all file descriptors before trying to reason about the number of open
...
descriptors. Should fix the test failures reported on current users.
2012-04-20 05:15:11 +00:00