Commit Graph

16 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
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
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
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
jruoho
be8b5eb28c Define _PATH_CPUCTL. 2011-09-27 11:24:20 +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
jruoho
4b77c904f2 Mark this again as expected failure. 2011-04-04 19:59:08 +00:00
jruoho
e49416c442 Remove atf_tc_expect_fail(). Should be fixed. 2011-03-30 22:26:26 +00:00
jruoho
e1bbe6445c Adjust for _PATH_CONSOLE, pointed out by njoly@. 2011-03-30 19:32:13 +00:00
jruoho
9be2a3c25f Another proof that even the naive test cases are worth it;
expect a failure with fstat(2) and bpf(4), PR lib/44807.
2011-03-30 18:31:15 +00:00
jruoho
8c6b9e263c Add some basic tests for fsync(2) and <paths.h>. 2011-03-30 09:43:21 +00:00