christos
ca074ef647
strptime now sets tm_yday
2015-07-04 13:36:25 +00:00
christos
6aa5718835
new test.
2015-07-01 15:36:44 +00:00
ozaki-r
5fbfc68952
Add tests of interface creation/destruction
2015-07-01 08:33:31 +00:00
pooka
aba7ab9c93
Check that PTHREAD_RWLOCK_INITIALIZER works.
2015-06-26 11:07:20 +00:00
christos
df32205700
- don't create a db file.
...
- add more tests.
2015-06-22 22:35:51 +00:00
christos
88fc59697b
Add new failing test.
2015-06-22 19:06:05 +00:00
matt
b9e582e94c
Don't build tests that depend on RUMP if BSD_MK_COMPAT_FILE is defined.
2015-06-22 00:05:23 +00:00
ozaki-r
95529645e4
Add missing cleanup
2015-06-10 03:29:37 +00:00
ozaki-r
978c966b4f
Add tests for bridge members with an IP address
...
The tests include checks for PR#48104 which is not fixed yet.
Note that one test unexpectedly fails for some reason
(unrelated to PR#48104). We have to fix it somehow.
2015-06-09 00:39:53 +00:00
joerg
810e0f52bb
Don't pass uninitialized variables by value.
2015-06-06 13:14:06 +00:00
ozaki-r
11f40b0843
Check if tests surely failed with TTL exceeded
2015-06-02 07:32:50 +00:00
ozaki-r
b420830aee
Improve stability of route_flags_xresolve tests
...
Insert delays to give route monitor a chance to complete its work.
2015-06-01 01:36:30 +00:00
ozaki-r
8192754c00
Disable test_ping_failure which is conducted before setup_bridge
...
It randomly fails (esp, often on a slow or loaded machine) due to
PR kern/49219, so disable it for now.
I forgot why I didn't include the test when I committed the test
at first and wrongly added it at v1.4.
2015-05-29 10:08:52 +00:00
ozaki-r
3030e5a0ee
Bump timeout for ping and ping6 to 5 sec
...
Hope the wait is enough for slow machines, e.g., qemu/anita/i386.
2015-05-29 02:06:46 +00:00
ozaki-r
2f78640437
Get rid of unnecessary shebang
...
It will be added when it's built.
2015-05-29 01:54:56 +00:00
ozaki-r
5fd5216cf8
Make the test stable under load or when running on a slow machine
...
Let sender and receiver synchronize explicitly via a socketpair
and don't rely on sleep.
2015-05-28 10:19:17 +00:00
ozaki-r
92795cceb3
Detail an error message
2015-05-28 08:32:53 +00:00
kefren
8b3cf81fd9
Add another simple MPLS test but using this time a mixed IPv4/IPv6 LSR
...
This test encapsulates IPv6 packets, pass them over MPLS to an IPv6
neighbour that switches label and passes forward to an IPv4
neighbour. There, the IPv6 packet is decapsulated and passed to IPv6 stack
For the return path we test both implicit and explicit null encapsulations
2015-05-27 18:13:14 +00:00
kefren
60a33c5ba8
Add a simple IPv6/MPLS test
2015-05-27 16:40:33 +00:00
ozaki-r
148b6434a5
Add timeout to ping6 positive tests too
...
For when they fail.
2015-05-27 01:12:04 +00:00
ozaki-r
8a6480b1eb
Run mcast tests on rump kernels
...
The tests on anita qemus failed due to that the host network environment
didn't meet the tests.
The change makes the tests independent from host environments
and the tests will pass on any environments including anita qemus.
Discussed on tech-kern and tech-net.
2015-05-26 00:42:07 +00:00
ozaki-r
8255dae8f6
Fix specifying an interface for IPV6_JOIN_GROUP
...
Using always an interface of index=1 is not good idea; it varies
depending on runtime environments. We can use index=0 instead,
which allows the kernel to pick an appropriate interface for mcast.
2015-05-25 07:17:17 +00:00
christos
87847627ce
Add a VIS_NOLOCALE test
2015-05-23 14:02:11 +00:00
christos
f845fc8e2c
MKRUMP=no fixes (Robert Swindells)
2015-05-20 17:39:04 +00:00
ozaki-r
458add7bf4
Add tests for XRESOLVE flag
2015-05-20 01:30:42 +00:00
ozaki-r
4203465ea1
Handle child's exit status precisely
2015-05-19 04:14:04 +00:00
ozaki-r
f3005e6ac8
Use EXIT_FAILURE instead of 1
2015-05-19 03:19:27 +00:00
ozaki-r
2754f5946a
Add tests for route flags
2015-05-18 06:27:04 +00:00
ozaki-r
d43069ef3e
KNF
...
Tweaks of whitespaces and tabs.
2015-05-18 00:55:09 +00:00
ozaki-r
bdf24ea091
Save errno for errx
2015-05-17 15:48:57 +00:00
ozaki-r
9fbb6a243a
Enable IPv6 negative tests
...
As ping6 timeout feature (-X option) is added, we can do negative
tests without wasting time.
1 sec delay is added after network setup to avoid false positives.
2015-05-16 14:29:37 +00:00
martin
07b432ed22
Before pinging, wait for addresses to come out of tentative state
2015-05-13 12:01:24 +00:00
ozaki-r
a8d41e5542
Add basic tests for IP forwarding
2015-05-13 10:04:44 +00:00
christos
2a8cfbd271
one t in literal.
2015-05-11 19:37:51 +00:00
christos
94ac2a41a2
add one more test
2015-05-11 17:21:32 +00:00
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
martin
39780a1ced
Cosmetics: hide an error message from sysctl (machdep.cpu_brand is not
...
available on most architectures)
2015-05-04 10:57:17 +00:00
christos
35d355f3ea
- new test for strtoi
...
- namespace protection for strto{i,u}
- separate manpages for strto{i,u} from the ones for strto{u,}l
From: Kamil Rytarowski
2015-05-01 14:17:56 +00:00
ginsbach
7b940a5b54
Add hour tests as a standalone test case.
2015-04-28 16:06:09 +00:00
pgoyette
7f8653d8a0
Include better diagnostic info when a required key value cannot be retrieved from envstat -x
2015-04-23 23:23:28 +00:00
pgoyette
8f2064710d
When exiting, provide a reason.
2015-04-23 04:49:37 +00:00
ginsbach
0b61b786a1
Make century and year conversion tests a standalone test case rather than
...
part of the "common" test case.
2015-04-22 13:15:30 +00:00
ginsbach
fb89bad2cc
Make seconds conversion tests a standalone test case rather than
...
part of the "common" test case.
2015-04-21 17:39:50 +00:00
ginsbach
a5f68193b1
Add more detail to test descriptions.
2015-04-17 15:13:47 +00:00
riastradh
d1c2f2cc13
Use <sys/rndio.h> for rnd ioctls.
2015-04-13 22:24:34 +00:00
riastradh
03d306e2dd
Apparently I fixed t_unpriv:zfs_owner and didn't notice.
2015-04-09 19:51:13 +00:00
riastradh
3d61be1880
Advisory locking for zfs.
2015-04-09 19:47:05 +00:00
ginsbach
679713aac4
Split inet_addr(3) tests from t_inet_network into stand-alone t_inet_addr,
...
so that t_inet_network only contains tests for inet_network(3).
2015-04-09 16:47:56 +00:00
riastradh
bc95daf1f6
Fix vattr_init_mask: mode is mode_t, not u_short.
...
Fixes fs/vfs/t_vnops:zfs_attrs test.
2015-04-09 05:32:53 +00:00