alnsn
66c2729de9
Fix test directory.
2014-06-30 21:34:22 +00:00
alnsn
d32d6008b1
Add bpfjit kernel tests for loading from mbuf chain.
2014-06-30 21:30:51 +00:00
darrenr
347b12f138
New IPv6 tests for ipnat parsing need to be built by make so that they can
...
be executed.
2014-06-30 17:02:55 +00:00
darrenr
6dd125be9b
NetBSD has an entry for protocol #255 in /etc/protocols labeled "reserved"
...
so expect that in the parsing output instead of 255.
2014-06-30 16:14:35 +00:00
darrenr
55ab6190c4
PR kern/47462
2014-06-29 09:27:58 +00:00
darrenr
d36a011b61
Add in test cases for testing ipnat's parsing of IPv6 NAT rules
2014-06-29 09:25:31 +00:00
darrenr
1afe7e56bc
in2 is no longer a broken test case
2014-06-29 04:00:59 +00:00
alnsn
a6c4b35211
Add t_extmem test.
2014-06-25 19:13:27 +00:00
alnsn
966c8b069a
Add external memory tests.
2014-06-25 19:13:03 +00:00
alnsn
5b6fcae7f9
Fix copyright. These tests are based on tests created in 2013 on github.com.
...
https://github.com/alnsn/bpfjit , files test/test_cop{,x}.c.
2014-06-25 18:16:40 +00:00
alnsn
6c8422a022
Add t_cop test.
2014-06-25 18:04:44 +00:00
alnsn
5990d54c7c
Add BPF_COP and BPF_COPX tests.
2014-06-25 18:04:05 +00:00
alnsn
65b8637bc0
Zap trailing spaces.
2014-06-24 11:32:36 +00:00
alnsn
19fed70d36
Implement copfuncs and external memory in bpfjit.
2014-06-24 10:53:30 +00:00
shm
509eb314f7
Add bm(3) tests
2014-06-23 10:53:20 +00:00
alnsn
ce28ef1f5a
libarch on sparc isn't -l${MACHINE_CPU}. Don't link to it.
2014-06-17 19:26:18 +00:00
alnsn
29499f54b7
Link with -l${MACHINE_CPU}.
2014-06-17 06:36:01 +00:00
joerg
13b8fa7d71
Add modfl(3). From FreeBSD.
2014-06-16 12:54:42 +00:00
apb
c38e7a8bc8
Update fmtcheck(3) test now that pointers and longs are differentiated.
2014-06-14 08:19:02 +00:00
martin
7c2f361f8e
Properly initialize arguments for the tmpfs mounted in this test.
...
Pointed out by pooka@.
2014-06-10 13:15:18 +00:00
he
f693807fd8
Fix static linking for the tests: -lrump is also used by -lrumpuser,
...
so we also need -lrump after -lrumpuser. Fixes build for sun2.
2014-06-10 04:28:39 +00:00
he
68eb80a8fe
When linking statically (as for sun2), need to list -lrump also
...
after -lrumpuser, because rump_pub_lwproc_switch is used in the
latter and defined in the former.
2014-06-09 18:22:05 +00:00
pgoyette
cbaf1827a0
Convert size check to use 1K blocks (more human-friendly), and fix
...
atf_skip message to reference block size rather than bytes.
OK martin@
2014-06-08 13:45:14 +00:00
shm
fc03103b46
PR/48517 testcase provided by Felix Deichmann
2014-06-06 06:59:21 +00:00
njoly
954ca52517
Add testcase that check lstat(2) values for symbolic links (PR
...
kern/48864).
2014-06-03 11:56:07 +00:00
christos
9462261d53
PR/48843: Jarmo Jaakkola: Test cses for break/continue/return broken
...
inside dot commands:
The test cases are named with the pattern
dotscope_cmd_cmdscope,
where dotscope is the scope in which the dot command is and cmdscope
is the scope where cmd is in the sourced file.
2014-05-31 14:29:06 +00:00
alnsn
de2c6dc51a
Update copyright year.
2014-05-23 11:48:26 +00:00
alnsn
02f87fcd70
Test Array Bounds Check Elimination (ABC) and test bpf programs from bpf(4).
2014-05-23 11:47:59 +00:00
martin
3313ae3d61
Re-enable alpha IEEE compiler options
2014-05-18 10:47:03 +00:00
palle
65aa7f14df
Added test of -d option to sysctl
2014-05-16 18:50:28 +00:00
martin
4e0f19c597
Set a bigger timeout - this test needs > 3000s on my shark (mostly for
...
unpacking the test image)
2014-05-15 14:53:05 +00:00
christos
639c8a82b3
CID 978337: Fix resource leak
2014-05-12 15:33:12 +00:00
christos
03a5ccb524
CID 975238: Unchecked returns
2014-05-12 15:31:07 +00:00
martin
9ce5f7726e
Add a test case for PR kern/48787.
2014-05-10 14:15:25 +00:00
yamt
d1d388317b
include string.h for memset
2014-05-06 00:41:26 +00:00
martin
fb80a335f8
Comment out the ieee fp flags for alpha for now - something (tm) is not
...
working right, see PR port-alpha/48782.
2014-05-05 18:08:32 +00:00
joerg
9695f56051
Check for mounted /proc.
2014-05-01 03:46:11 +00:00
joerg
af32f2a15b
Annotate dependencies.
2014-04-30 21:04:21 +00:00
uebayasi
413d532bcc
Minimal execve(2) ATF test.
2014-04-29 06:29:02 +00:00
martin
511cd1dbe5
Tune COPTS for alpha
2014-04-28 08:46:35 +00:00
martin
36cb4c7daa
Skip the curtain test case if curtain is not enabled and we would not
...
be able to restore it to its old value later due to running at securelevel
above 0.
Previously this would fail and leave curtain enabled untill next reboot (but
causing further runs of the test to suceed, just to maximize confusion).
This went unnoticed initial since most modular test kernels run with options
INSECURE to allow exercising the kernel module loader.
2014-04-28 08:34:16 +00:00
christos
7801950caf
Include bsd.own.mk (hi pooka)
2014-04-26 18:53:21 +00:00
pooka
0159a35e80
obsolete the installed <rump/scsitest.h> header and make it private
...
to tests/dev/scsipi
2014-04-25 00:24:39 +00:00
pooka
37510bf29a
CPPFLAGS for rump_private.h
2014-04-25 00:17:48 +00:00
pooka
8fa17e4756
scsitest is a SCSI target emulator used by one test, and has little
...
reason to get installed. Make the component private to the test using
it and obsolete the installed one.
IOW, rename sys/rump/dev/lib/libscsitest -> tests/dev/scsipi/libscsitest
2014-04-24 21:46:44 +00:00
christos
ae43465b77
disable the extension test for now.
2014-04-21 19:10:41 +00:00
christos
084b9a8547
use a different function instead of __builtin_isnan, because it is polymorphic
...
and we don't handle this yet.
2014-04-21 19:09:52 +00:00
martin
e3f3b44e5b
When unlinking a directory as unprivileged user allow both EPERM and EACCESS
...
failures.
2014-04-21 18:05:17 +00:00
martin
e3e7e2d06e
When a hard link to a directory fails, accept both EPERM and EACCESS as
...
valid error codes.
2014-04-21 14:39:36 +00:00
christos
fc07744d1d
add more tests
2014-04-17 18:34:44 +00:00