Commit Graph

2246 Commits

Author SHA1 Message Date
prlw1 a0b4c35b18 correct test name 2015-03-16 16:42:27 +00:00
isaki 787a0efa5b white space -> tab. 2015-03-14 07:23:46 +00:00
isaki 6abe86a4fd Reduce the number of loops.
It avoids timeout on slow machines, and I think that 100,000
times loop also satisfies the evaluation.
PR lib/49664 (no comments)
2015-03-07 09:59:15 +00:00
martin 0c9e453b20 Make sure to use the values calculated in the loop that is supposed to crash
the client process - so the compiler does not optimize it all away.
Also improve diagnostic in case of common bug: SIGSEGV instead of SIGBUS.
2015-02-28 13:57:08 +00:00
christos 19331afb8e add truncate causing signal test 2015-02-27 16:09:19 +00:00
martin b6df10e8a5 Bump timeout for a poll() call slightly, so the test has a chance to work
on slow machines.
2015-02-27 13:15:49 +00:00
martin 610137e5d4 Double the timeout (to 120s) for slower machines 2015-02-27 09:16:07 +00:00
martin 94d18b32c6 Double the timeout for sentev_basic to 600 seconds to make it work on
slower machines.
2015-02-27 08:55:35 +00:00
martin 2a86fa6804 2 seconds is too small as timeout on slow machines, bump to 10 (my hppa
needs ~5).
2015-02-27 08:30:30 +00:00
martin 88c71edd30 Bump timeout to 20 seconds for slower machines. 2015-02-26 13:06:10 +00:00
martin 270998d298 Do not use artificial low timeouts - slow machines might be still paging
in all the rump environment. Bump timeout from 4 seconds to 20 (my shark
needs ~9).
2015-02-26 13:03:21 +00:00
martin 237b5a2e3f bsize_ffactor takes *very* long to complete on some slower machines (maybe
we should investigate?).
Bump timeout up to 1800 seconds (my hppa machine takes ~1100).
2015-02-26 13:00:26 +00:00
martin dfdb00a60a Make the dummy data that we expect to go into .data section bigger,
otherwise on e.g. alpha it goes into the "small objects data" .sdata
section, which confuses the matching done in this test.
2015-02-17 11:51:04 +00:00
isaki b8d13981be m68k (except sun2) never issue SIGBUS on unaligned accesses.
PR lib/49653.  Thanks martin@.
2015-02-17 09:47:08 +00:00
alnsn 6d5b9045a5 Add two more libbpfjit_jmp_jeq_x_noinit_XX tests. 2015-02-14 22:40:18 +00:00
alnsn e3ced4adff Add two more bpfjit_jmp_jeq_x_noinit_XX tests. 2015-02-14 22:34:33 +00:00
alnsn 4bf0e499d1 Replace accidentally committed test with libbpfjit_jmp_jeq_x_noinit_ax test. 2015-02-14 20:39:09 +00:00
alnsn 3228cf99a8 Improve libbpfjit_jmp_jeq_x test. 2015-02-14 20:29:36 +00:00
alnsn 73969c29cc Improve bpfjit_jmp_jeq_x test. 2015-02-14 20:25:08 +00:00
alnsn 86cd3d4d52 BPF_JMP+BPF_JEQ+BPF_X doesn't compare X with k, it compares X with A.
Fix it in the bpfjit_jmp_jeq_x_noinit_ax test.
2015-02-14 19:55:05 +00:00
alnsn 009978ddb6 Avoid testing for zero rv in bpfjit_jmp_x_uninitialised. Unitialised
X isn't a problem for bpf_validate().
2015-02-14 17:28:19 +00:00
alnsn 35489d090f Add bpfjit_jmp_x_uninitialised test.
Found by http://lcamtuf.coredump.cx/afl/.
2015-02-14 16:48:30 +00:00
isaki 76ca8ec888 uint64_t -> uint32_t. 32bit is sufficient in this case
and it improved the performance approx 7% on my 68030.
see also PR lib/49664.
2015-02-14 08:46:02 +00:00
martin 55ba2da403 Fix strange editor mishap and start block comment on its own line. 2015-02-13 16:56:57 +00:00
alnsn 542a94c076 Add bpfilternegjmp test. 2015-02-11 23:39:07 +00:00
alnsn bc33ca73a3 Add libbpfjit_jmp_ja_overflow test. 2015-02-11 23:33:16 +00:00
alnsn c57239cf9d Add bpfjit_jmp_ja_overflow test. 2015-02-11 23:29:48 +00:00
alnsn 9dc6430c3c Add libbpfjit_jmp_ja_invalid test. 2015-02-11 23:17:16 +00:00
alnsn b43344f3ff Add libbpfjit_ret_k and libbpfjit_bad_ret_k tests. 2015-02-11 23:00:41 +00:00
alnsn fe765d6008 Add bpfjit_ret_k, bpfjit_bad_ret_k, bpfjit_jmp_ja_invalid tests. 2015-02-11 22:37:55 +00:00
alnsn 8f06b72616 Add bpfilterbadjmp and bpfilterbadret tests. 2015-02-11 19:37:37 +00:00
martin d21477da21 Remove expected failure and references to port-alpha/46301, now that
it is fixed.
2015-02-09 19:39:48 +00:00
isaki 083cb7865f Skip kqueue_unsupported_fd test if /dev/drvctl is not configured
in the kernel.  PR bin/49644.

XXX Ideally, it's better to modify to use more generic device file.
2015-02-05 13:55:37 +00:00
christos e7149865f6 PR/49617: Kirk Russell: posix_fallocate() should be returning an error on
failure, without setting errno.
2015-01-31 23:06:57 +00:00
nakayama 11b2083df7 The test requires symbols, so put STRIPFLAG= explicitly to avoid
stripping them if STRIPFLAG?=-s is defined in /etc/mk.conf.
2015-01-31 20:55:43 +00:00
martin 5f67668838 Mark the failing tests as expected failure and point to PR toolchain/49085. 2015-01-27 12:57:14 +00:00
pooka fff8d9a1f5 call previous with the correct args too 2015-01-21 15:19:01 +00:00
pooka d08959252d check that setuid() works for procs with >1 lwp 2015-01-21 15:00:50 +00:00
snj 72e6061c7e Remove stale comment about ARM fenv support. 2015-01-20 20:43:10 +00:00
christos 7e4263ceda cast and mask is overkill. 2015-01-14 22:57:27 +00:00
christos d0b8ae57c5 bump warns. 2015-01-14 22:22:32 +00:00
christos f7afbc7f00 PR/48958: rudolf: EVFILT_VNODE filter miscounting hardlinks (add test) 2015-01-14 22:22:14 +00:00
christos 9861bac74f cast to destination type. 2015-01-14 22:16:04 +00:00
ozaki-r ac80d197aa Add tests for brconfig maxaddr 2015-01-08 06:33:11 +00:00
pooka c5d51f5087 one more MKZFS fix (how many subdirs does this place have?) 2015-01-08 04:00:31 +00:00
pooka e8f299cad3 fix MKZFS=yes ports 2015-01-08 03:50:56 +00:00
pooka f454f435c3 edit one more particularly well-hidden site needing -lrumpkern_sysproxy 2015-01-07 23:12:31 +00:00
pooka 0397f3a735 Move sysproxy support into a separate component, rumpkern_sysproxy,
instead of it being always provided by the rump kernel base.  This
move accomplishes two things:

1) it is no longer necessary to provide sysproxy hypercall stubs for
   platforms which do not want to use sysproxy
2) it is easier to reason about the security aspects, since configurations
   not linking the sysproxy component simply do not support remote
   system calls

discussed on rumpkernel-users
2015-01-07 22:24:03 +00:00
ozaki-r fdb884f32b Add some tests for rtable operations of if_bridge 2015-01-07 08:55:01 +00:00
joerg 707bb266b1 panic is printflike. 2015-01-06 21:36:38 +00:00