Commit Graph

971 Commits

Author SHA1 Message Date
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
jruoho
576aaaa585 Test also ttyname_r(3). 2011-05-01 18:14:01 +00:00
jruoho
5e6ff08c20 Verify PR standards/44921. 2011-05-01 17:07:05 +00:00
jruoho
2446e1b8a7 Naive tests for clearerr(3).
Converted from the "PCCA" test suite by Stathis Kamperis.
2011-05-01 16:36:37 +00:00
jruoho
700486254a Add the new 'termios' subdirectory. 2011-05-01 11:44:41 +00:00
jruoho
741dca333d Add a test for PR lib/41673 (another trivial errno "bug"). 2011-05-01 11:39:37 +00:00
jruoho
2b2b951b5e Improve further so that this might actually fail. 2011-05-01 09:44:26 +00:00
jruoho
f74cfbd2d7 Actually, as this is nanosleep(2), test 1-10 nano second sleep times. 2011-05-01 09:19:12 +00:00
jruoho
77fa459178 Simplify the previous. (Apparently the sleep time is not that accurate.) 2011-05-01 09:15:14 +00:00
jruoho
23c04498b7 Few basic tests for nanosleep(2). 2011-05-01 09:09:35 +00:00
jruoho
cbbc4a7b84 Two elementary tests for gettimeofday(2). 2011-05-01 07:22:40 +00:00
jruoho
e426bc4f89 PR lib/42587 was fixed; remove xfail. 2011-05-01 06:42:29 +00:00
alnsn
d4a5682920 Add new files. 2011-04-30 11:24:14 +00:00
jruoho
4f729153dd Few fundamental consistency checks for kill(2). 2011-04-30 06:20:37 +00:00
alnsn
fc6d41fbf1 PR/42320 doesn't seem to be fixed, mark the failure as expected. 2011-04-30 01:10:07 +00:00
jmmv
6d06e772f7 Add test cases for PR bin/6764: 'trap ... 0' is supposed to execute the
command when the shell exits but it does not work in ksh when the shells
exits "implicitly" (without an explicit exit/return statement).

These new tests cover both sh and ksh.  The ksh part of this does not
strictly belong to this directory, but I think it'd be nice to extend
all the tests in here to cover both interpreters whenever that makes
sense, much like we do with the file system tests.
2011-04-29 12:49:36 +00:00
alnsn
f94fb57534 Test for PR bin/42320. 2011-04-28 23:28:23 +00:00
martin
73637f3626 Add TNF license. OK: pooka. 2011-04-26 20:42:01 +00:00
martin
57d2159dd2 When failing, point to PR lib/44057 and the discussion therein about the
relevant compiler bug.
2011-04-26 20:20:16 +00:00
martin
8d374d551c Simplify 2011-04-26 18:50:53 +00:00
martin
29b0298b15 Minor simplification 2011-04-26 18:42:08 +00:00
njoly
778925efe8 Do not try to lower limits that are already at 0. 2011-04-25 22:34:16 +00:00
njoly
dd925c8942 Avoid creating test files oustide atf-run temporary tree. 2011-04-25 22:29:35 +00:00
njoly
53714e0d34 In nice_err testcase, use ATF_REQUIRE_ERRNO. 2011-04-25 20:55:06 +00:00
njoly
5845e99692 Switch from atf_tc_fail to atf_tc_fail_nonfatal to report all missing
defines, not only the first one.
2011-04-25 20:51:14 +00:00
haad
3c44b4003a Workaround problem with qemu where jot 100 produce garbage otput like this
93
94
:+
:,
:-
:.
:/
100

This can't be used as name of file, change jot cmd to work in all cases.
2011-04-21 22:26:46 +00:00
martin
84bd71a202 Add a variation of the setjmp tests that link to libpthread and verify
pthread_self() stays consistent.
2011-04-21 18:58:20 +00:00