darrenr
30a942f180
test cases n201 and n202 were removed on import of 5.1.2
2012-07-22 16:22:41 +00:00
darrenr
e60fd761ef
Merged IPFilter 5.1.2 into HEAD
2012-07-22 14:33:26 +00:00
darrenr
c9d5dc6c77
Import IPFilter 5.1.2
2012-07-22 13:44:10 +00:00
martin
8f3c15e2f4
Add a test case that (if gcc supports it on the current arch) to compile
...
a PIE binary and see if we can run it.
2012-07-21 12:30:55 +00:00
pgoyette
198966cae9
Add new test cases for entropy-providing sensors
2012-07-19 13:36:18 +00:00
spz
67d12f6407
more MKCRYPTO_IDEA and MKCRYPTO_MDC2 removal (resp, adjustment to IDEA and
...
MBC2 now always being included)
MKCRYPTO_RC5 now builds shared libs, add the missing files to sets
2012-07-14 16:04:04 +00:00
christos
e2d5622544
MKCRYPTO_{IDEA,MDC2} is no more
2012-07-14 04:06:17 +00:00
pgoyette
e048bbf458
Restore the rest of the ipfilter test framework, even if most of these
...
tests are broken. The "golden output" files for these tests need to be
updated.
2012-07-08 14:45:05 +00:00
pgoyette
b437857d4c
Restore one more group of tests.
...
XXX Test i17 was broken previously, and remains broken.
2012-07-08 00:53:01 +00:00
pgoyette
f499e4e2e7
Restore some more tests from ipfilter 5.1.1
...
XXX Test in2 was broken before the ipfilter 5.1.1 import, and is still
XXX broken.
2012-07-08 00:48:29 +00:00
pgoyette
a29385018a
Restore some more of the ipfilter 5.1.1 tests.
...
XXX It appears that ipftest is not handling the policy {,src-,dst-}hash
XXX correctly, so these tests are still marked broken/skipped.
2012-07-08 00:36:46 +00:00
pgoyette
f5d9b1d185
Re-enable some of the ipf tests. The only thing wrong with these tests
...
is that the tests were not re-imported with the rest of ipfilter 5.1.1
XXX There are still some more ipf test failures that need to get resolved,
XXX but at least we'll get some of them back just in case we have a
XXX regression.
2012-07-07 23:29:44 +00:00
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