Commit Graph

50 Commits

Author SHA1 Message Date
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
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
jruoho a873c5cd55 Add missing __RCSID(3). 2011-03-30 08:34:19 +00:00
jruoho c90472ef80 Do not skip the QEMU bugs but instead mark these as expected failures. 2011-03-25 10:42:38 +00:00
jruoho 1604324802 Bluntly skip the tests that fail under QEMU. XXX: system(3) is used for this?
wnCVS: ----------------------------------------------------------------------
2011-03-25 10:00:31 +00:00
jruoho 5f8b364626 Even these naive test cases caught one (QEMU?) bug; comment PR # 44767. 2011-03-25 04:26:41 +00:00
jruoho 5ceeb0400d Add also a basic, naive, test for fast_divide32(3). 2011-03-24 07:37:04 +00:00
jruoho 56d0179b95 Add some naive test cases for the ffs32(3) family of functions. 2011-03-24 07:06:34 +00:00
jruoho acf13bc7e1 Add a simple test file for <sys/bitops.h>. For now, only ilog2(3) is tested. 2011-03-19 06:39:17 +00:00
jmmv decf2b5e0f Adjusts tests after import of atf-0.12:
- The use.fs property is gone.
- Mark the tests/fs/t_create:attrs test as broken when using the default
  unprivileged-user:_atf setting.  This probably deserves a fix somehow
  but I'm not sure at this point.
2010-11-07 17:51:16 +00:00
christos 0f10aa9dce add Makefile.inc everywhere so that we can set WARNS=4 by default. Amazing
how many bugs this found :-)
2010-11-03 16:10:19 +00:00
jmmv 2f0d388071 Remove the ATF_CHECK calls I added during the conversion of this test to
atf.  They break on i386 (because the test was conceptually broken anyway);
reported by pooka@ in private mail.

Now... the current test does not actually check anything AFAICT... but this
is how it was before.
2010-07-18 12:16:19 +00:00
jmmv 6cbeb05cb2 Convert the include tests to atf.
Initial work from the GSoC 2008 project by Lukasz Strzygowski.
2010-07-17 19:26:27 +00:00