Commit Graph

1078 Commits

Author SHA1 Message Date
christos
88d695edac fix fallout from including signal.h in rump_syscallargs.h 2011-06-26 13:17:36 +00:00
christos
60e8629a5d fix fallout from including signal.h from rump_syscallargs.h 2011-06-26 13:15:22 +00:00
christos
5c85f3b56b fix fallout from including signal.h in rump_syscallargs.h 2011-06-26 13:13:31 +00:00
christos
360b33ff11 more fallout from rump_syscallargs.h including <signal.h> 2011-06-26 13:08:08 +00:00
christos
01c7e2ef5b ggr, how many of those I will need to fix. Fallout from the bogus inclusion
of <signal.h> in rump_syscallargs.h.
2011-06-26 13:06:00 +00:00
christos
7933a8d7d6 need signal.h for kill()
this is why it was wrong for rump_syscalls.h to include this.
2011-06-26 12:14:59 +00:00
nonaka
c52f9a5df2 PR/45015: ld.elf_so: support ELF symbol versioning
Applied latest patch.
2011-06-25 05:45:10 +00:00
jruoho
013b7b496e Require unprivileged runs when appropriate. 2011-06-21 01:45:26 +00:00
jruoho
f0756496ab Few naive tests for truncate(2). 2011-06-20 18:03:41 +00:00
joerg
208082f32c Try to initialize retval to something sensible. 2011-06-18 20:05:56 +00:00
joerg
2df16a8d62 input() isn't used 2011-06-18 20:05:28 +00:00
christos
355eb06ba8 Remove environment variable settings.
Now that we are not abusing $HOME to get to the terminfo db, make it visible.
2011-06-17 16:59:51 +00:00
christos
046bfa491c vis'ify the excess byte printing so that xstlproc does not barf. 2011-06-17 16:32:31 +00:00
christos
ab526f5155 turn off verbose 2011-06-17 16:30:58 +00:00
christos
e8b3e7091a turn on warnings 2011-06-17 16:30:30 +00:00
christos
23bea5092d - pass things in arguments instead of environment
- sanity check arguments
- disable extra data warning, old tests gave it too
- print more detailed errors
- use err/warn more
*some tests still fail; more than they used to*
2011-06-17 02:15:28 +00:00
joerg
afc8527716 Use proper format strings. 2011-06-16 15:33:24 +00:00
mrg
c25406cbc7 evbppc can do modules now. 2011-06-15 23:45:45 +00:00
jmmv
cb5d8fbf8d Fix definition of the plus_tflag test case. Uncovered by atf 0.14. 2011-06-15 07:58:03 +00:00
jmmv
884a148d21 Fix obvious typo in test case name. Uncovered by atf 0.14. 2011-06-15 07:54:32 +00:00
plunky
e19d93dc5d gcc seems to pad small character arrays, use an array of ints
while here, make the poke function non-static, so that it doesnt
get optimised away
2011-06-15 06:09:21 +00:00
njoly
e792323b22 Avoid printf(3) directive interpretation in long_format testcase
description.
2011-06-14 12:17:57 +00:00
njoly
10e63b29d4 Move unsigned int/long conversion test to their own testcases, to
avoid having the whole marked as skipped. While here update testcases
names.
2011-06-14 11:58:22 +00:00
njoly
6e845fb5bc mkdep(1) needs cc(1). Make testcase check for them. 2011-06-14 11:44:25 +00:00
jruoho
519d4f3013 Avoid ATF_REQUIRE() inside a child process. 2011-06-14 05:28:00 +00:00
jruoho
280c25b2f3 Test that assert(3) works. 2011-06-14 05:25:20 +00:00
jruoho
4c45d59aa4 Add few basic tests for the getlogin(2) family. 2011-06-14 03:50:47 +00:00
jruoho
3b469f3ce9 Remove the cases that cause integer overflow on e.g. i386. 2011-06-14 02:45:58 +00:00
jruoho
5c64bfa640 The NaN case for strtold(3) was fixed for x86. Adjust for the expected
failures (known failures include again the special case of qemu/amd64).
2011-06-14 02:37:31 +00:00
plunky
33a7866d10 reinstate ssp:raw test, slightly differently.. this one is built
with -fstack-protector-all and tests that the compiler built in
stack protection works, by poking directly outside the buffer
2011-06-12 21:12:46 +00:00
plunky
042cae446e don't pass -fstack-protector for these, the tests are actually for the
__*_chk functions included by -D_FORTIFY_SOURCE=2, and if the compiler
provides additional protection, it can mask broken functions..

(none of the _chk functions will return or process any data if
the length given is known to be larger than the buffer)
2011-06-12 19:22:01 +00:00
christos
e4bf07bdfe Fix patented algo compilation 2011-06-12 16:16:26 +00:00
mrg
d78c2159a8 vmobjlock is now a pointer to kmutex_t. use it as one. 2011-06-12 06:38:14 +00:00
christos
2a18cea9f4 Turn warns on for all tests and fix all the bugs. 2011-06-11 18:03:17 +00:00
njoly
88309ba987 Do not print sizeof values in skip message. 2011-06-10 17:10:43 +00:00
njoly
ec49331b57 Remove unneeded prototypes. 2011-06-10 15:52:44 +00:00
njoly
6be560f8ad Remove newlines from various messages. 2011-06-10 15:43:59 +00:00
njoly
86d9fe0273 Do not call exit() after atf_tc_fail(). 2011-06-10 15:21:25 +00:00
spz
56d7efa655 add tests for evb and srp 2011-06-09 05:25:17 +00:00
jruoho
a4bc4192a9 Adjust types. 2011-06-08 05:31:43 +00:00
jruoho
72242ed7f9 Use atf_tc_skip() instead of #if 0. 2011-06-08 05:28:03 +00:00
jruoho
8fb0f51219 Temporarily comment out the 'stat_dir' test. It panics QEMU/i386 guests. 2011-06-07 19:06:39 +00:00
martin
ff5dc95132 Sparc64 does not fail the strtold_nan test, so don't expect failure there 2011-06-07 13:51:52 +00:00
jruoho
e8214a285d Granularity is fine, but also adjust atf_tc_expect_fail() properly. 2011-06-05 16:33:51 +00:00
jruoho
0202e776ab Do not blindly cast things (obviously makes the test fail). 2011-06-05 13:51:46 +00:00
jruoho
4706fcee20 Remove the dirent(3) check entirely. 2011-06-05 13:49:46 +00:00
jmmv
727143def5 Do not blindly skip test code.
Tests are not supposed to skip whole parts of code to later report a success.
Instead, they need to report a 'skipped' result so that it is clear to the
user that some part of the tests were not run.

To do this, add proper calls to atf_tc_skip where some pieces of code are
skipped.  Also, make the strtod/strtof/strtold inf and nan tests more granular
so that the *ld versions can be skipped altogether when there is no support
for them.  As a result of this, the atf_tc_expect_fail becomes accurate; it
could have hidden bugs in strtod and strtof before.
2011-06-05 07:58:03 +00:00
christos
a60572ee58 - use c99 to avoid extra ifdefs and tidy up the code
- require that undeflow returns 0 and ERANGE
2011-06-05 00:02:05 +00:00
matt
dc3cdd31a6 Only do the long double tests if __HAVE_LONG_DOUBLE is defined 2011-06-04 22:55:57 +00:00
haad
d2ca1cbffe Fix problem with overflowing constant definition
t_strtol.c:95: warning: overflow in implicit constant conversion
2011-06-04 22:49:49 +00:00