Commit Graph

925 Commits

Author SHA1 Message Date
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
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
martin
9761dd743b Add MAP_PRIVATE to mmap() flags where missing. 2011-04-19 10:21:51 +00:00
jruoho
2fa0f9fccc Few simple tests for getgroups(2). 2011-04-17 06:26:02 +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
martin
72c24adedc Should no longer fail - if it still does, be sure to have a proper
/var/chroot/tcpdump/etc/protocols file installed (i.e. by running
postinstall)
2011-04-11 20:08: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
martin
ed194e826a Repeat the fragmentation on lo0 test, but with checksum on IFF_LOOPBACK
interfaces enabled.
2011-04-10 11:31:48 +00:00
jruoho
957fb2eb62 "wrong return value" -> "wrong errno". 2011-04-10 10:59:13 +00:00
jruoho
ba5cac7848 Formally verify PR standards/44777. 2011-04-10 10:49:43 +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
e7c9c72e99 Verify that PR standards/21401 is no longer an issue. 2011-04-10 08:35:47 +00:00
jruoho
2fe16f2510 Fix comments. 2011-04-10 08:11:34 +00:00
jruoho
29ee83dbcf Add tests for PR standards/44847 and PR standards/18067. 2011-04-10 08:07:41 +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
martin
3d772d583a Remove expected failure, PR has been fixed. 2011-04-09 20:42:12 +00:00
pgoyette
324074b933 atf-ify the various locale tests 2011-04-09 17:45:24 +00:00
martin
40b302ddec Add two simple testcases to exercise pty/tty communication. 2011-04-09 11:55:59 +00:00
martin
c5e67b6b14 No longer expected to crash the kernel. 2011-04-09 06:36:03 +00:00
jruoho
c077304602 Use RLIMIT_NOFILE rather than the static _SC_OPEN_MAX. 2011-04-08 15:35:49 +00:00
jruoho
5ebf352487 Adjust the test with stdin(3). 2011-04-08 15:25:00 +00:00
yamt
4f5ae08861 test timer_create with CLOCK_MONOTONIC as well 2011-04-08 11:11:53 +00:00
jruoho
6f21bdca87 Adjust for the tracker PR kern/30115 for this over 15 year old bug. 2011-04-08 10:36:09 +00:00
jruoho
a2963f40dc Move the round(3) checks from 't_libm' to their own 't_round'
for consistency. Add -Wfloat-equal and fix comparisons.
2011-04-08 06:49:20 +00:00
jruoho
b63018ec52 Fix build failure on VAX. 2011-04-08 06:37:50 +00:00
jruoho
02dfa85f00 Remove the following (literal) text in the TNF copyrights:
* This code is derived from software contributed to The NetBSD Foundation
  * by
  *

XXX: If these originated from you and you want your name to be mentioned,
     please add it.
2011-04-07 18:14:08 +00:00
jruoho
247203635d Add few naive test cases for msync(2). 2011-04-07 17:38:02 +00:00
jruoho
a301260f35 Improve the test further so that it might trigger more often. 2011-04-07 17:33:11 +00:00