Commit Graph

277 Commits

Author SHA1 Message Date
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
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
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
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
576aaaa585 Test also ttyname_r(3). 2011-05-01 18:14:01 +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
e426bc4f89 PR lib/42587 was fixed; remove xfail. 2011-05-01 06:42:29 +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
njoly
53714e0d34 In nice_err testcase, use ATF_REQUIRE_ERRNO. 2011-04-25 20:55:06 +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
blymn
da8ae82efe Allow a NULL pointer to be passed as an argument to a call. 2011-04-21 10:23:50 +00:00
martin
eafc32a2b4 PR fixed, remove expected failure. 2011-04-20 20:02:58 +00:00
blymn
8f5d556812 Add boolean values to the standard definitions. 2011-04-20 10:40:14 +00:00
martin
fd21e1d8bf Manually craft a (default) termios description instead of trying to fetch
one from stdin - ATF tests should not rely on stdin being a terminal.
2011-04-19 20:13:55 +00:00
martin
8fc4e7259f Make the test case independend of stdin being a terminal 2011-04-19 20:07:53 +00:00
jruoho
38b0bf3bbd Test nice(3) also with threads. 2011-04-17 06:18:23 +00:00
plunky
831ec44f27 test that data element lists are not placed by sdp_put_attr(), as
an attribute/value pair should only contain a single data element
2011-04-16 07:32:27 +00:00
he
b2bee2ed8d Explicitly list -lterminfo after -lcurses, to support static builds. 2011-04-13 09:46:38 +00:00
jruoho
a402cee48a PR lib/41931 should be fixed; remove expected failure. 2011-04-12 03:06:21 +00:00
jruoho
5bed061828 Better to still leave the old PR number as a comment. 2011-04-12 02:56:20 +00:00
jruoho
97410b9644 PR lib/33262 should be fixed; remove expected failure. 2011-04-12 02:52:20 +00:00
joerg
433a129747 Don't fail on platforms with "char" == "unsigned char" 2011-04-11 22:37:10 +00:00
tron
7831dec066 Fix build with stack smash protection enabled. 2011-04-11 17:16:43 +00:00
martin
7dffc9a369 Try to generate infinite values in all available floating point formats
on the FPU and check isinf() and fpclassify() results. This is
different from the libc internal consistency checks testing PR
lib/33262.
2011-04-11 10:51:36 +00:00
blymn
11e883205c Apply patch provided by mrg to fix bad calls to vw_printw and vw_scanw 2011-04-11 09:06:24 +00:00
blymn
e4abc2b9ad Fix NetBSD tag field. 2011-04-11 09:03:24 +00:00
blymn
2c84a00eef Fix incorrect call example. 2011-04-11 09:02:40 +00:00
blymn
44d4aa2e2e Incorrect licence was applied - fix this. 2011-04-11 09:02:02 +00:00
dholland
cdadb9ea2e Fix obvious bug.
(note: this file still doesn't build on amd64)
2011-04-10 23:31:30 +00:00
jruoho
957fb2eb62 "wrong return value" -> "wrong errno". 2011-04-10 10:59:13 +00:00
jruoho
ba788ede8f Currently known failures affect only amd64; adjust atf_tc_expect_fail(). 2011-04-10 10:23:45 +00:00
blymn
bdd37afa3f Add atf for libcurses with some tests 2011-04-10 09:55:08 +00:00
blymn
320b7b4d50 Add libcurses test 2011-04-10 09:49:13 +00:00
jruoho
5aac453263 A naive test case for getcwd(3). 2011-04-10 06:27:20 +00:00
jruoho
a63adaf81b Add a test case for PR lib/41931 reported by he@. It was verified that these
fail on NetBSD 5.99.48 amd64 but pass on amd64 Linux (glibc 2.7).
2011-04-10 06:11:47 +00:00
pgoyette
324074b933 atf-ify the various locale tests 2011-04-09 17:45:24 +00:00
jruoho
5ebf352487 Adjust the test with stdin(3). 2011-04-08 15:25:00 +00:00