Commit Graph

2020 Commits

Author SHA1 Message Date
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
gson d34c9aa571 Add -lrumpnet_netinet6 to the rump_server invocation, to stop
rpc.rquotad from printing the error message "rpc.rquotad:
_svc_tli_create: could not open connection for udp6: Address family
not supported by protocol family".  The error message currently ends
up in /dev/null because it is printed to stderr after calling daemon()
with noclose=0, but if the daemonization is moved to a later point to
fix the race condition of PR misc/48282, it will actually appear on
stderr and break the test, which is expecting stderr to be empty.
2014-03-13 12:45:14 +00:00
martin 49f7ef9bba Avoid double constants out of range 2014-03-12 21:40:07 +00:00
joerg 7af46b7fdc Use a struct for pair of frame name and whether it is optional. Add some
additional entries found in a -O0 build of ATF on PowerPC.
2014-03-11 13:43:23 +00:00
pooka 495782ee0e Move the "is arch capable of loading native kernel modules into
rump kernel" clauses from bsd.own.mk to Makefile.rump.  Also,
add a rump_nativeabi_p() call to determine if rump kernel is
compiled with native ABI support.
2014-03-10 22:38:53 +00:00
martin d97ddb2687 no NaN tests for vax 2014-03-08 17:05:47 +00:00
martin 1ecc2818f1 Vax does not do +/- INF. 2014-03-07 12:46:47 +00:00
dsl a701b24dee A couple of the atan tests are randomly failing.
Print the incorrect value.
2014-03-05 20:15:41 +00:00
dsl 208d774fb4 Fix some typos.
Make the infinity and nan constants 'double' not 'long double'.
2014-03-05 20:14:46 +00:00
dsl ee6c509ded Move the #defines that simplified the test definitions and checks
into a separate header than can be used by the other libm tests.
Make the subtest index 'unsigned int' so that simple constants (eg 0)
  print correctly.
2014-03-05 19:43:46 +00:00
joerg 5c4c6caf71 Make the abs() use check non-fatal for a bogus use in the LFS cleanerd. 2014-03-04 21:06:47 +00:00
dsl 7a0105bd14 Remove the print of the rounding mode.
It was added in case it was non-zero - which it isn't.
It still isn't clear why acos(-1) gives the wrong result on some amd64
  systems.
2014-03-03 18:21:33 +00:00
martin a753a01cb4 Define HAVE_FENV_H on architectures that support it.
What a mess, we need a central place for this!
2014-03-03 12:15:27 +00:00
martin 29ebc6818e Remove all cargo-cult #ifndef __vax__ from the tests, that just paper
over bugs in the vax libm.
2014-03-03 10:39:08 +00:00
martin 5e5099dfc8 Fix build for platforms w/o fenv.h.
Remove some bogus #ifdef __vax__ (and add a few, hopefully non-bogus,
new ones).
2014-03-03 10:38:36 +00:00