Commit Graph

64 Commits

Author SHA1 Message Date
pgoyette 95bd0f4ec1 Use correcet variable name when printing the error code. 2015-05-07 06:23:23 +00:00
pgoyette 9f8be6380b Don't fail if open() of sysmon devices returns ENODEV. This can
occur if sysmon subcomponents are not included in the kernel and
autoloading of modules is not allowed or not supported.
2015-05-07 01:35:35 +00:00
isaki ec31227c02 one more white space -> tab. 2015-03-21 05:50:19 +00:00
isaki 47f8b9c01c Rewrite ilog2's test. PR lib/49745.
- Reorganize ilog2_basic to ilog2_32bit, ilog2_64bit and ilog2_const.
  ilog2_const is compile-time test for __builtin_constant_p() part of
  current ilog2() implementation.
- Remove fully meaningless ilog2_log2.  So this part of PR misc/44767
  is no longer present.
2015-03-21 05:32:07 +00:00
isaki 787a0efa5b white space -> tab. 2015-03-14 07:23:46 +00:00
martin 2a86fa6804 2 seconds is too small as timeout on slow machines, bump to 10 (my hppa
needs ~5).
2015-02-27 08:30:30 +00:00
justin 97c0a6f647 PR misc/49356 remove unnecessary references to atf-c/config.h
The function included via this header is not used and is removed in
later versions of atf, so let us avoid it.
2014-11-04 00:20:19 +00:00
jmmv e110dcc954 Use compiler builtins instead of atf_arch and atf_machine.
The atf_arch and atf_machine configuration variables were removed from
atf-0.19 without me realizing that some tests were querying them directly.

Instead of reintroducing those variables, just rely on compiler builtins
as many other tests already do.

Should fix PR bin/48582.
2014-02-09 21:26:07 +00:00
christos d56fcfc956 fix unused variable warnings 2013-10-19 17:45:00 +00:00
christos 973ed75f39 initialize variables 2013-10-19 17:44:37 +00:00
pooka a4786a8b92 socket(-1, SOCK_CLOEXEC, 0); followed by the process exiting (i.e.
fd slot does not get initiailized before fd_free()) cases a diagnostic
kernel panic.
2013-09-05 12:22:10 +00:00
gsutre d163d4166c Fix two tests for typefit: constants larger than LLONG_MAX
do not fit in a signed long long.
2013-09-05 09:01:27 +00:00
christos b1dcb17635 use __BITMAP_TYPE 2012-12-07 02:28:19 +00:00
jruoho f8b5dc2c31 Move the bitmap(3) test to the "right" place. Note it in bitops(3). Xrefs. 2012-12-04 06:57:44 +00:00
christos cb461c6808 Exclude tests that use rump 2012-08-08 13:57:05 +00:00
joerg 1907ec3a61 Switch device database to cdb(5). Rework ttyname(3) and ttyname_r(3) to
depend on new devname_r(3) as heart. Add /dev/pts magic directly to
devname(3). While it can lead to returning non-existing paths, the
behavior is more consistent that way. Drop caching layer in devname(3),
it doesn't buy anything for the common case of having access to the
database. Teach devname(3) proper fallback behavior of scanning /dev.
Create both old-style and new-style database for now in /etc/rc.d/sysdb.
2012-06-03 21:42:44 +00:00
joerg b753e46cc9 Use array access 2012-03-25 06:54:04 +00:00
matt c76c9d1fc1 Use SCHAR_{MIN,MAX} for signed char, not CHAR_* since not char are signed. 2012-03-23 23:12:28 +00:00
christos 27215b2b59 test the __type macros 2012-03-18 15:30:59 +00:00
jruoho 72ed5c064e To be on the safe side, use the category/number notation when referring to
PRs (otherwise third-party sed-scripts might miss the references). Also
remove white-space.
2012-03-18 07:14:08 +00:00
christos 5a7b3f43e8 this does not fail anymore 2012-03-17 21:31:29 +00:00
jruoho 2f943d6432 Skip the test on sparc and point to PR port-sparc/45580. 2011-11-06 16:18:27 +00:00
jruoho cc7aae5d85 Add printfs to see where TNF's qemu/sparc fails. 2011-11-05 08:49:24 +00:00
pgoyette 7726fd7693 No need to keep on trying when this fails in the expected manner. We
really don't need to have 32k failures.


OK jruoho@
2011-10-31 18:37:01 +00:00
christos 07f6e1d3b5 remove stray underscore. 2011-10-02 18:34:17 +00:00
christos 0dd4f3a513 disable test on the vax until we fix it. 2011-10-01 18:38:39 +00:00
jruoho cbbf4a4b63 Add expected failures for Qemu. 2011-09-30 14:50:20 +00:00
jruoho be8b5eb28c Define _PATH_CPUCTL. 2011-09-27 11:24:20 +00:00
jruoho 537167411c Remove some cruft that is no longer needed. 2011-08-29 17:39:54 +00:00
jruoho 86cc76e795 Remove Xfails that are related to the infamous qemu/amd64 floating point
bugs. It appears to be quite difficult to identify the exact Qemu version
and setup. These do not fail on the TNF's qemu/amd64 setup, which can be
taken as a reference point for expected failures.
2011-08-29 12:50:50 +00:00
riastradh c0f2eaa637 Need root for /dev/power. 2011-08-12 03:59:44 +00:00
hannken 1db98a4a6d putter_fop_stat(): set st_mode to S_IFCHR.
Fixes PR #44807: something broken in stat(2).
2011-07-23 14:28:28 +00:00
njoly 730b47d6fe Convert some more ATF_REQUIRE calls to ATF_CHECK. 2011-07-11 17:51:48 +00:00
njoly 1732ed7d11 Make types_signed/types_unsigned testcases use ATF_CHECK instead of
ATF_REQUIRE.
2011-07-11 16:12:56 +00:00
jruoho f7ca1d1262 Improve the QEMU/amd64 detection. 2011-07-07 11:04:30 +00:00
jruoho b54ff1eb07 Move the 'syscall/t_cmsg' test to 'include/sys/t_socket'. 2011-07-07 05:50:26 +00:00
joerg a216da57a6 Default to -Wno-sign-compare -Wno-pointer-sign for clang.
Push -Wno-array-bounds down to the cases that depend on it.
Selectively disable warnings for 3rd party software or non-trivial
issues to be reviewed later to get clang -Werror to build most of the
tree.
2011-05-26 12:56:24 +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 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 d86c47c62a Some naive tests for the bswap(3) family. 2011-05-03 04:50:30 +00:00
jruoho 5e6ff08c20 Verify PR standards/44921. 2011-05-01 17:07:05 +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
jruoho ba5cac7848 Formally verify PR standards/44777. 2011-04-10 10:49:43 +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 4b77c904f2 Mark this again as expected failure. 2011-04-04 19:59:08 +00:00
jruoho 00f7056aa1 Add a test case for the POSIX (minimum) limits. Written by Stathis Kamperis. 2011-04-04 18:02:01 +00:00
jruoho e49416c442 Remove atf_tc_expect_fail(). Should be fixed. 2011-03-30 22:26:26 +00:00