Commit Graph

997 Commits

Author SHA1 Message Date
nakayama
88e42b609b Add fenv support for sparc. Mostly copied from sparc64 and share with it. 2011-05-20 21:42:48 +00:00
joerg
3b8335f4ee Test case requires the GCC specific thread extension for Objective C, so
only enable the test if GCC is present and disable other compiler.
2011-05-20 13:03:45 +00:00
riastradh
ee53e39c19 Expand tests for unaligned writes to cgd. No more xfail.
PR kern/44515
PR kern/44964
2011-05-19 20:37:50 +00:00
christos
e2d6a49943 Don't depend on the atf timeout stuff, do it ourselves. 2011-05-18 03:15:12 +00:00
christos
185865c435 Add a test for signal delivery during pselect, with temporary mask change. 2011-05-18 02:57:48 +00:00
njoly
59bc3aabda Add require root user to test_case_xfail. Avoids reporting expected
failure for the wrong reason with unprivileged runs (puffs access
denied).
2011-05-17 22:01:41 +00:00
he
1fd8e2619a The support of <fenv.h> is actually for __sparc64__, not for __sparc__
(which is also defined on sparc64).  This fixes a build problem for
plain sparc.
2011-05-16 07:59:18 +00:00
christos
65066d37d4 h_macros need strlcat and random ugh, please someone remove this header.
define _NETBSD_SOURCE so those are defined.
2011-05-16 00:03:36 +00:00
christos
21bd6ba1e6 add missing header files. 2011-05-15 23:59:03 +00:00
christos
6551109c37 if you don't include the proper include files, you are going to end up
calling functions incorrectly.
2011-05-15 23:56:28 +00:00
jmmv
9b4c1721f3 Instead of doing 'atf_check ... sh -c foo', just do 'atf_check ... -x foo'. 2011-05-14 17:42:28 +00:00
njoly
de774efe6e Remove shebang lines from test-script sources; avoids duplicate with
the build process which adds one too.
2011-05-11 22:08:12 +00:00
njoly
37bcf00e1a Typo in error message. 2011-05-11 19:06:45 +00:00
jruoho
0a8e06ff1f Adjust. 2011-05-11 08:11:36 +00:00
jruoho
3005f452fe Do also a small functional verification that user did not succeed in writing
garbage values, even if sysctl(8) reported a failure.
2011-05-11 07:07:41 +00:00
jruoho
2f45c76c1c Use the same conditional check from <fenv.h> to fix an immediate build error
pointed out by cliff@. (This does not however sound like a sane thing to
mandate from a C99 header.)
2011-05-10 19:18:19 +00:00
njoly
7605f6497e Add require.progs unifdef, to avoid failure if comp set is not
installed.
2011-05-10 19:02:27 +00:00
jruoho
98be387902 Verify that strtod(3) honors the current rounding mode set by fesetround(3).
Passes on amd64. Prompted by a bug in the GNU C library.
2011-05-10 15:20:19 +00:00
jruoho
cd5d7b9351 Few naive tests for pause(3). 2011-05-10 13:03:05 +00:00
jruoho
44744829be Add also a simplistic stress unit test. 2011-05-10 12:43:42 +00:00
jruoho
34c8ff4209 Fix comment/string typos. 2011-05-10 06:58:17 +00:00
jruoho
ac31bc5721 Fix typo. 2011-05-10 06:55:27 +00:00
jruoho
949a3d9b76 Add one missing cleanup routine declaration. 2011-05-09 17:55:37 +00:00
jruoho
f33b8e3d59 Add a test case for PR kern/44946. This tests that common first level sysctl
nodes (ddb, hw, machdep, etc.) are not writable by a normal user.
2011-05-09 17:53:54 +00:00
jruoho
76710b77f2 On a second thought, require that close(2) fails for a descriptor already
closed with closefrom(3). For some odd reason (yet to be determined), this
check fails on 5.99.51 (amd64).
2011-05-09 11:05:36 +00:00
jruoho
d5aa514fe9 Remove superfluous close(2) pointed out by martin@. 2011-05-09 10:50:02 +00:00
jruoho
105ad5cd59 Add one more naive unit test. 2011-05-09 09:27:37 +00:00
jruoho
6cd711aedd Few basic tests for exit(3). 2011-05-09 07:31:50 +00:00
jruoho
aab71b6e06 List the ATF_TC_() thins in the order of appearance. 2011-05-09 06:05:54 +00:00
jruoho
48b4c06005 Few basic tests for strerror(3). 2011-05-09 06:04:14 +00:00
jruoho
f5d692df83 Few basic tests for closefrom(3). 2011-05-09 05:17:12 +00:00
njoly
12b7c66064 Do not return for early failures; otherwise the testcase will be
reported as passed, even if not really run.
2011-05-06 22:24:41 +00:00
njoly
35f009cabe write-only mapping is not portable, change it to read/write. Unbreaks
mprotect_write testcase on alpha.
2011-05-06 21:51:19 +00:00
jruoho
fd2377c7fe Try to mirror the real source with the test directory structure (otherwise
the latter carries a risk of becoming a difficult mess to manage.)
2011-05-05 13:36:04 +00:00
jruoho
0bd56749c6 Few fundamental consistency checks for alarm(2). 2011-05-05 13:22:56 +00:00
jruoho
f9b73fbc67 Follow the real tree with the test directory structure. 2011-05-05 05:39:10 +00:00
jruoho
5cdd3dcf2a Follow the real tree with the test directory structure. 2011-05-05 05:24:44 +00:00
jruoho
cb861154c1 Add a test case for PR bin/26453. 2011-05-03 15:13:50 +00:00
jruoho
ae3433a79c Fix same copy-paste error here. (Why atf(7) does not warn about these?) 2011-05-03 14:26:11 +00:00
jruoho
15dd14fca5 Fix build failure reported by pgoyette@. 2011-05-03 14:11:51 +00:00
jruoho
1a3a1673c8 Fix copy-paste error. 2011-05-03 12:54:48 +00:00
jruoho
6e1e04d65f Add a test for PR bin/41880. 2011-05-03 08:36:15 +00:00
jruoho
765b090a54 A test for non-critical/low PR bin/42179. 2011-05-03 07:56:42 +00:00
jruoho
1f57069f96 Verify that PR bin/42628 is no longer an issue. 2011-05-03 07:23:19 +00:00
jruoho
b76e0d98ce Add a test for non-critical/low PR bin/43141. 2011-05-03 06:13:06 +00:00
jruoho
d86c47c62a Some naive tests for the bswap(3) family. 2011-05-03 04:50:30 +00:00
jruoho
97dfa3c4e3 Few basic tests for getitimer(2) and setitimer(2). 2011-05-02 17:26:23 +00:00
gson
0461af44be Don't print a time_t with %lu 2011-05-02 11:14:29 +00:00
jruoho
0a02a67e57 Use the standard "PR foo/1234" notation such that the PR number is parsed
correctly for the atf(7) HTML reports.
2011-05-02 08:30:21 +00:00
jruoho
d06a811310 Verify that nanosleep(2) can suspend for one nanosecond (or longer). 2011-05-02 07:02:09 +00:00