rmind
d0748eb941
- Add bpf_args_t and convert bpf_filter_ext() to use it. This allows the
...
caller to initialise (and re-use) the memory store.
- Add bpf_jit_generate() and bpf_jit_freecode() wrappers.
2013-11-15 00:12:44 +00:00
christos
fa1e6d6374
CID 1107543, 230676, 1107543, 976795, 230676, 976795, 1125885, etc.
2013-11-13 21:41:23 +00:00
joerg
cbc2f8caeb
Add FreeBSD's truncl and minimal testing.
2013-11-13 12:58:11 +00:00
joerg
d0d4402155
Initial version of fmodl from FreeBSD.
...
Basic test case for the fmod family.
2013-11-12 16:48:39 +00:00
kefren
f7c77f192b
Retire t_ldp_static. It's too heavy weighted for releng's anita and mostly
...
unsuited for atf.
2013-11-12 12:22:33 +00:00
joerg
2e412cf6b8
Add initial version of ceill, floorl and roundl from FreeBSD.
2013-11-11 23:57:34 +00:00
joerg
70f0cfa164
NetBSD 6.99.26: Switch i386 and amd64 to the x87 default control word
...
as initial value for new processes. This means that long double
computations get the expected 63bit mantissa. Binaries tagged as
compiled for 6.99.25 and older get the old value.
Add a simple test case to ensure that double and long double computation
are working correctly.
2013-11-11 11:10:45 +00:00
blymn
f3ae62b834
Update check files to match fixed behaviour for addchstr
2013-11-09 11:18:12 +00:00
christos
ddd5644b2e
Handle new objc for gcc-4.8.1. Someone with more objc foo can do this better.
2013-10-31 21:02:11 +00:00
joerg
5e2fc1bbd3
Only initialise TLS space from the PT_TLS segment, if the size is
...
positive and the offset has been computed. Fixes PR lib/48324.
2013-10-21 19:14:15 +00:00
joerg
7ce95f3734
Revert, init-exec in combination with initalised TLS variables is not
...
supported.
2013-10-21 19:11:17 +00:00
christos
f59006a79a
write fail as a proper macro
2013-10-20 17:36:36 +00:00
christos
92501fa166
adjust output now that we don't output size info for links and directories
...
by default.
2013-10-20 17:27:37 +00:00
christos
14e652625e
broadway changed addresses.
2013-10-20 17:22:49 +00:00
joerg
744547edc2
Force use of static TLS space.
2013-10-20 13:30:50 +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
christos
05546cf9db
build the .h before the .o
2013-10-19 17:28:38 +00:00
christos
11fdff5426
CID 1107548: resource leak
2013-10-17 12:53:28 +00:00
christos
73a690f0f7
CID 1107550: resource leak
2013-10-17 12:52:09 +00:00
christos
0703489a8c
more tests
2013-10-12 17:26:32 +00:00
christos
ee07b6a10b
new test to check if non-blocking sockets are reset to blocking on the
...
accepted file descriptor.
2013-10-12 15:29:16 +00:00
christos
4b23c29b39
make this work on linux
2013-10-10 16:01:55 +00:00
christos
dc8626c22e
Improve tests so that they check the sockaddr's returned by accept(2) and
...
getsockname(2). Test for accept success after closed client socket.
2013-10-08 18:05:31 +00:00
ast
83d9b54597
Fix PR bin/48202 [non-critical/low]:
...
sh +nounset and `for X; do` iteration fails if parameter set empty
by applying and testing FreeBSD's patch of Oct 24 2009 for this; see
http://svnweb.freebsd.org/base/head/bin/sh/expand.c?r1=198453&r2=198454
Also created an ATF test in tests/bin/sh/t_expand.sh for this error and
corrected a space->tabs problem there as well.
2013-10-06 21:05:50 +00:00
martin
7e7cfe75c0
Retry previous
2013-09-16 15:33:24 +00:00
martin
0422e3f47d
Make it compile on archs where NAN is not defined - previously it only
...
compiled by chance (and details of the __isnan macro) on vax.
2013-09-16 15:22:51 +00:00
pooka
2e16209595
Remove what looks like an outdated assert (there was something very sneaky
...
about this code, but my memory is fading ...)
2013-09-09 19:47:38 +00:00
pooka
8b99c7c824
Use 8 TCP/IP stacks instead of 16. That still gives us plenty crossping
...
testing for 1/4th of the cost.
2013-09-09 19:27:49 +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
0f567347d0
test harness for gethostbyname()/gethostbyaddr() and their internal bits.
...
XXX[1]: How can we avoid using hard-coded hosts for DNS
XXX[2]: How do we test NIS?
2013-08-16 15:29:45 +00:00
martin
34f5799411
Prevent inlining of the main testcase body function.
...
Do not mark the inner functions static, as they might get cloned then
(ending up being called "myfunc3.clone.3" instead of "myfunc").
2013-08-16 11:57:15 +00:00
joerg
cf7d2ab7ad
Now that all architectures default to unwind data, remove the failure
...
for !amd64.
2013-08-15 12:42:25 +00:00
dholland
eac2170da1
Add some cases pertaining to another bug I just fixed.
2013-08-11 01:50:02 +00:00
dholland
88d97c8162
Remove xfail for PR 48113.
2013-08-11 00:29:21 +00:00
dholland
36890ffbb0
Add tests for tr, including an xfail one for PR 48113.
2013-08-10 22:36:16 +00:00
pgoyette
f6bf860e63
Arghhh! Typo.
2013-08-08 05:10:07 +00:00
pgoyette
26735a61a7
Add a new test case for snprintb_m(3) to catch previous boundary bug.
2013-08-08 04:52:10 +00:00
pooka
40df3663d1
tests for i/o-after-unlink
2013-08-04 11:02:02 +00:00
skrll
6d42eea15e
Slow hardware needs longer, especially for default_deny_user_big
2013-07-29 13:15:24 +00:00
skrll
548b029c20
Increase timeout. My hardware must be getting slower.
2013-07-29 10:43:15 +00:00
njoly
1fe37e8eed
Check that rename(2) with NULL arguments fail with EFAULT.
2013-07-28 09:03:43 +00:00
kefren
6ca68e7c50
Disable ip forwarding at penultimate hop
...
Raise the ping wait time a little bit in order for changes to propagate
over ldp
2013-07-27 14:39:24 +00:00
kefren
6ea87284a2
don't expect failure anymore
2013-07-27 14:36:39 +00:00
njoly
17b707526d
New testcase which checks that rump copyin/copyout/copyinstr/copyoutstr
...
version return EFAULT for special NULL "user" address.
ok pooka@.
2013-07-26 16:09:48 +00:00
kefren
2276864e5a
add a couple of tests for dynamic MPLS routes generation using ldpd
2013-07-25 14:28:29 +00:00
christos
fa3151c9b2
adjust for make(1) printing the nesting level.
2013-07-24 14:03:22 +00:00
skrll
5fad374c29
There wasn't a codegen bug - the test program itself was buggy.
...
Nothing to see hear... move along.
2013-07-24 11:45:48 +00:00
skrll
114c94b6cd
Fix msgsz confusion.
2013-07-24 11:44:10 +00:00
kefren
f9bf6846c4
Use . for shm bus path and rump_server url instead of /tmp
...
Exit after first reply in mpls_fw
2013-07-23 12:41:01 +00:00
martin
4ddc14a004
Move all shm files from /tmp into . so ATF can automatically do cleanup
...
for us. Ok: kefren
2013-07-23 12:14:49 +00:00
kefren
96e1b99106
Add a test for RFC4182
2013-07-23 11:26:33 +00:00
skrll
ea7eb28732
Compile tests/lib/libc/sys/t_msgrcv with -O0 on hppa to avoid compiler
...
bug.
2013-07-23 07:04:18 +00:00
tron
c8ccd84f1f
Fix build with stack-protection enabled.
2013-07-21 15:29:04 +00:00
kefren
ff6f2bd928
Add a couple of basic IP/MPLS forwarding tests
2013-07-19 04:00:40 +00:00
reinoud
ef76be89bb
Update test cases for UDF now udf_rename() uses the genfs_rename framework
2013-07-10 18:55:00 +00:00
reinoud
f3954b9d18
Cover the last failing UDF test cases with a reference to PR kern/47986, i.e.
...
all rename's fail until UDF switches over to the new rename framework solving
the locking mechanism.
2013-07-08 06:44:51 +00:00
joerg
e3f0a6cadb
Put the vfork at the end.
2013-07-05 09:55:39 +00:00
joerg
8f5b02bd33
Use conditional calls to vfork() to prevent the compiler from inlining
...
the intermediate stack frames. Mark the __start frame as optional.
2013-07-04 23:53:13 +00:00
pooka
528e47fc44
Remove makevirtif(), it's not likely to be used in testing.
...
(and this file should go away anyway in favor of using ifconfig etc.)
2013-07-03 19:13:33 +00:00
nakayama
f7f884f97e
Enable tests which does not require rump if MKRUMP=no.
...
Pointed out by christos on source-changes-d.
2013-07-03 14:01:29 +00:00
reinoud
61c2992d1e
Use the new extension to newfs_udf to generate a decent image for rump to work
...
on instead of an FFS(!) version.
2013-07-02 15:00:55 +00:00
martin
5e7b1b08fc
Initialize mount args version info.
...
Add comment about a bogusly used "newfs" where "newfs_udf" is meant.
2013-06-30 15:42:43 +00:00
martin
05df297d98
Fix copy & pasto, notice by Nicolas Joly, one step closer to solving
...
PR kern/47974.
2013-06-30 15:05:49 +00:00
reinoud
cb0bc59d6c
Add the rumpfs_udf to the LDADD variable
2013-06-28 13:04:06 +00:00
christos
9e823bd0f7
add a pktinfo test
2013-06-27 20:01:24 +00:00
reinoud
591c440aa2
Add UDF as one of the filesytems to test. Might help understand why rump is
...
misbehaving on it.
2013-06-26 19:29:24 +00:00
isaki
0a3e12024b
Remove header files which became unnecessary in 1.7.
2013-06-14 05:39:28 +00:00
pooka
16eee2303a
Fix the test for rumpfs on amd64 by adding a creation mode to open().
...
thanks to gson for the prod.
2013-06-12 12:08:08 +00:00
joerg
44c2dc6e5d
Make back trace more robust. At least on i386, one of the intermediate
...
functions in ATF is not replaced by tail recursion elimination, so
mark it as optional.
2013-06-06 17:40:09 +00:00
gson
321ad68594
Don't rely on "kill -0" to check whether a background shell command
...
has exited; it does not work reliably because the process may still
exist as a zombie. OK mlelstv.
2013-05-31 14:40:48 +00:00
joerg
85a67e61f7
Add mbsnrtowcs and wcsnrtombs. Approved by core.
2013-05-28 16:57:56 +00:00
martin
dbc87f74ee
Backout previous - real fix for vax libm upcoming.
2013-05-24 11:47:13 +00:00
christos
fdb7536171
vaxinate the new tests.
2013-05-23 20:45:47 +00:00
martin
85d85a185b
Add a few test cases to test "ordinary" values with the various scalbn
...
variants. While there, make some spuriously failing tests print out the
broken values on failure.
2013-05-20 12:21:42 +00:00
christos
b5f9733725
PR/47826: Garrett Cooper: Add <sys/types.h>. Really I am tempted to remove
...
this file instead.
2013-05-17 15:42:09 +00:00
christos
863b4f4307
PR/47825: Garrett Cooper: Fix hardcoding of NetBSD in t_grep.sh
2013-05-17 15:39:17 +00:00
martin
0bac6b7608
Mark two more test case as only failing for BE
2013-05-16 07:43:02 +00:00
martin
e2eacae3cf
Assume that the NAT failures that happen on some architectures are endianess
...
bugs, so do not expect failure on LE archs for now.
2013-05-16 07:20:29 +00:00
skrll
3defc39379
Whitespace
2013-05-05 10:26:57 +00:00
mlelstv
3a4772dd1f
shorten fileops test further
...
add new test that verifies locking of the mount list.
2013-04-28 15:49:58 +00:00
mlelstv
1526e77e21
shorten test to not time out on our test infrastructure.
2013-04-27 07:45:07 +00:00
joerg
fcfab139c2
Since the mktemp test case uses mktemp, make linker warnings non-fatal.
2013-04-25 13:34:09 +00:00
christos
42e0c394d3
new mktemp test
2013-04-22 21:05:12 +00:00
mlelstv
5319147235
Now use correct test files and pass child failures to test function.
2013-04-20 09:00:03 +00:00
mlelstv
86479a1389
First attempt at stress testing umount of a busy disk.
2013-04-16 22:05:44 +00:00
martin
1f299de05d
The sh api calls it atf_expect_fail, while the c api calls it
...
atf_tc_expect_fail - this is shell, so fix the names accordingly.
XXX Why do they differ?
2013-04-14 16:07:46 +00:00
martin
18d840f0c0
Backout previous - which did not include the change described in the log
...
message anyway but pure accidental white space changes. The whole change
was not needed any more after fixing isqemu.h.
Thanks to agc for pointing it out.
2013-04-14 16:03:06 +00:00
martin
a4fee3e85d
Mark the test function as inline, so we don't get warnings if it is not
...
actually used.
2013-04-14 12:46:29 +00:00
martin
152c21a77c
Do not include isqemu.h if we are not going to use the test
2013-04-14 12:45:50 +00:00
christos
64d9d8eefb
use one qemu test
2013-04-12 17:30:50 +00:00
christos
57ecabebfd
don't pay for sysctl if we don't have to.
2013-04-12 17:21:04 +00:00
christos
1e97173517
loosen the test only for qemu.
2013-04-12 17:18:11 +00:00
christos
427032d97c
easier way to find if we are on qemu.
2013-04-12 17:13:54 +00:00
gson
44da6cec61
Make cond_wait_mono and cond_wait_real tests accept a wait time in the
...
range of 90% to 250% of nominal, to allow the test to pass under qemu
which has a known issue where timing can be off by a factor of two.
2013-04-12 14:21:52 +00:00
christos
14ac21b358
Add new tests sources for event2.
2013-04-11 17:00:12 +00:00
isaki
0c8b5b215f
Use a pre-calculated value as expected result, instead of
...
comparing it in a mathematical formula.
PR lib/46434 (and see also 46433).
2013-04-09 12:11:04 +00:00
isaki
ffc77545dc
Tune the epsilon about each value for exp{,f}_product.
2013-04-09 11:42:56 +00:00
christos
19e338409a
don't run with -n if you expect protocol translation from number to name.
2013-04-07 19:14:03 +00:00