Commit Graph

55 Commits

Author SHA1 Message Date
christos
a1801097ec Avoid ssp re-definitions for the functions we provide. 2012-10-31 13:48:12 +00:00
christos
cb461c6808 Exclude tests that use rump 2012-08-08 13:57:05 +00:00
jruoho
543143cf18 Move more PR references from comments to ATF's "descr". 2012-03-18 09:46:50 +00:00
jruoho
0a082b37fe Move the _lwp_ctl(2) preemption counter check to the right place. 2012-03-17 17:23:34 +00:00
joerg
66dd2755f5 Add __printflike attribution to use vprintf and friends with an argument
as format string.
2012-03-15 02:02:20 +00:00
martin
0ce98f42a7 Move posix_spawn tests to lib/libc/gen/posix_spawn - they test both libc
and kernel, but that is an implementation detail unrelated to the tests
themselfs.
Ok: releng
2012-02-13 21:03:06 +00:00
martin
19f52532ad Add userland part of posix_spawn. Libc functions imported from FreeBSD.
Based on Charles Zhang's summer of code project.
2012-02-11 23:31:22 +00:00
para
89c9828deb converting extent(9) from malloc(9) to kmem(9)
preceding kmem-vmem-pool-uvm patch

releng@ acknowledged
2012-01-27 18:52:47 +00:00
christos
408524dea5 Add a test for the kernel snprintf. 2011-11-24 01:46:40 +00:00
jruoho
d79436d44f Move the sigaction(2) test to the right place. 2011-10-15 07:00:48 +00:00
jruoho
d7cfdec1a4 Move the ucontext(2) test to the right place. 2011-10-15 06:54:52 +00:00
jruoho
e6064fc127 Move the writev(2) test to the right place. 2011-10-15 06:50:52 +00:00
jruoho
2a39986da0 Move the clock_gettime(2) timer test to the right place. 2011-10-15 06:42:16 +00:00
jruoho
175ae78538 Follow the design principles of tests(7) by merging 't_poll3w' to 't_poll'
as a test case instead of separate file.
2011-10-15 06:33:45 +00:00
jruoho
04c8b02c8d Move the mkdir(2) test to the right place. 2011-10-15 06:26:33 +00:00
jruoho
599acddbd9 Move the pipe(2) test to the right place. 2011-10-15 06:17:02 +00:00
jruoho
45e23a6a46 Move the posix_fadvise(2) test to the right place. 2011-10-15 06:10:26 +00:00
christos
6f52d919ef Add a pty test, written by Matthew Mondor 2011-09-24 15:53:01 +00:00
christos
2a18cea9f4 Turn warns on for all tests and fix all the bugs. 2011-06-11 18:03:17 +00:00
tron
3256d5bc1c Move regression test for PR kern/44986 from "kernel" to "syscalls" as
the later directory seems to be a better fit.
2011-05-28 16:12:56 +00:00
christos
15a7fd712a PR/44896 has been fixed.
BTW: We've created a mess here again with the directory structure of the
tests. What goes in syscalls, what goes in sys, and what goes in kernel?
I think we should follow the userland location for paths where those should
be defined, so everything should go into libc/sys.
2011-05-28 15:37:11 +00:00
tron
3b708a2134 Add two test cases for pollts(2):
- The first tests basic functionality e.g. timeouts and correct events.
- The second tests whether pollts(2) correctly restores the signal mask.
  This test currently fails because of PR kern/44986.
2011-05-28 15:24:49 +00:00
martin
73637f3626 Add TNF license. OK: pooka. 2011-04-26 20:42:01 +00:00
martin
8d374d551c Simplify 2011-04-26 18:50:53 +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
pooka
040c5b8d22 Use /dev/null instead of stdin for fd. Otherwise if the tests are
run with stdin as a pipe (e.g. from cron) the test fails with ESPIPE.
2011-03-14 20:41:25 +00:00
pgoyette
107fdb641e Add tests for verifying the recent changes to ps_strings
From joerg@ with atf-ification from myself.
2011-03-05 18:14:33 +00:00
matt
e538011342 This is no longer broken for macppc. 2011-02-07 09:40:52 +00:00
pooka
3bc662fecd underlying condition has been fixed 2010-12-30 22:23:13 +00:00
christos
bfb58157c3 adjust errno after kernel change to be EINVAL 2010-12-06 16:37:25 +00:00
pooka
f5c0e73abf RNDADDDATA2 doesn't xfail anymore. 2010-12-04 17:41:18 +00:00
pooka
f642190056 Add test case for suspected reason behind kernel panic described
in PR kern/44190
2010-12-04 17:38:42 +00:00
pooka
984ea70871 Add another set of problematic offsets from the quoted thread. 2010-11-15 22:01:44 +00:00
pooka
44198575b7 add necessary libs for t_posix_fadvise 2010-11-11 17:36:57 +00:00
pooka
f5449a5597 Actually, add a full tc for operating on fd's backed by regular
files (as opposed to pipes and devices).
2010-11-11 15:08:07 +00:00
pooka
7c8241e470 Add expected failure test for posix_fadvise() panic reported by yamt
on source-changes-d.
2010-11-11 14:50:58 +00:00
pooka
d4a18bf9e3 another long-running test, so give it some buffer 2010-11-08 21:38:13 +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
pooka
937f490267 retain pr number in comment 2010-08-04 14:28:28 +00:00
pooka
d53b948607 fixed in kern_descrip.c:1.204 2010-08-04 14:26:18 +00:00
pooka
a8c7d81755 test case for PR kern/43694 2010-08-02 10:29:48 +00:00
jmmv
fc6db98b3b Add a couple of simple tests for sigaction(2): one for the case where flags
is set to 0 and the other for the case where we set SA_RESETHAND.

The latter test is intended to expose PR port-macppc/43619 and is marked as
an expected failure on such platform.
2010-07-14 21:47:06 +00:00
jmmv
9d0b4b5bb8 Get rid of static Atffiles and let bsd.test.mk generate them on the fly. 2010-07-13 21:13:21 +00:00
jmmv
e834f57d5e Properly mark some test cases as having a cleanup routine. Stupidity of
the API?  Most likely; will revise it.

Fixes atf-run breaking when running t_psshfs.  This does not resolve the
underlying issue though, which is atf-run getting confused trying to
unmount the temporary mount point by itself (I think).  (I'm now wondering
if atf should be bothering about unmounting stuff at all.  Maybe not. It is
a tricky and uncommon thing.)
2010-07-05 16:27:08 +00:00
jmmv
7562f3f929 Replace custom xfail settings with the new expected failure support in
atf 0.10.
2010-07-03 08:18:30 +00:00
pooka
59b613aa00 xfail test for kernel panicky in PR kern/40688 2010-06-28 19:03:59 +00:00
pooka
4b7b7791c8 Fix silly test. First it tests that it can't "cd ..", then it
wants to "cd .." to complete the test.  CANNOT HAVE BOTH!
2010-06-12 13:31:35 +00:00
jmmv
6b84fb92ac atf-0.9 introduces an use.fs test-case property to allow tests to write to
their work directory.  The purpose is to be able to know which tests intend
to touch the file system and to allow a minor optimization in atf-run.

Define use.fs=true for all those tests requiring it.  (This highlights that
some tests currently require modifying the file system but conceptually
they shouldn't be... which leaves room for further improvements/cleanups
later :-)
2010-06-04 08:39:40 +00:00