Commit Graph

2034 Commits

Author SHA1 Message Date
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
joerg
728ced6ed6 Bail out if backtrace(3) failed. 2014-04-13 20:58:26 +00:00
christos
af447fd425 fix lossage with gcc-4.5 2014-04-07 15:09:20 +00:00
christos
658a209ca6 add stp*cpy() tests 2014-04-06 19:28:59 +00:00
gson
de089ddb26 Use daemon(3) instead of the experimental daemon2_fork() and
daemon2_detach().  Now that newer versions of daemon2_fork() and
daemon2_detach() are used in nfsd, where two-stage daemonization is
actually needed, there is no longer any reason for h_dns_server to
serve as a test case and example of their use.
2014-03-29 16:10:54 +00:00
joerg
76e79da680 Consistently use long double. 2014-03-25 17:30:14 +00:00
dholland
c93eb026cf remove sys/simplelock.h (straggler) 2014-03-21 22:18:57 +00:00
riastradh
6cb10275d0 Merge riastradh-drm2 to HEAD. 2014-03-18 18:20:35 +00:00
martin
d9c366827a Handle VAX 2014-03-17 11:08:11 +00:00
dsl
2f2f29868b Add a lot more tests for exp2() and exp2f().
exp2f(7.7) and exp2f(8.8) seem too far from their expected values
  (especially the latter).
exp2(-1023) and below are badly broken.
2014-03-16 22:51:19 +00:00
dsl
73c89cbfd4 Print the result as a 'long double' - on i386 a return value that
should be infinity might just be too large for 'double' and won't
get converted until it has to be saved to memory.
2014-03-16 22:49:27 +00:00
dsl
18f26c5968 Check that the result isn't equaly to the expected value before checking
the absolute size of the error term.
If the expected result is +/-infinity it should compare equal, but the
  result of the subtract may not be zero.
Also print the result and error values in fp hex to make it easier to
  see how may lsb bits are incorrect.
2014-03-16 18:42:21 +00:00
njoly
db479b4209 Retrict rumpfs to the provided size, like other filesystems. 2014-03-16 10:28:03 +00:00
cherry
4f1dbdfcdc Fix comment: ar.bsp is the RSE backing store base pointer, not ar.bspstore 2014-03-16 09:27:04 +00:00
cherry
ee65d46ce6 Add stack align test stub for ia64 native csu 2014-03-16 09:20:05 +00:00