Commit Graph

2513 Commits

Author SHA1 Message Date
christos
3075d03889 add code to dump the mbuf contents 2015-10-18 18:26:55 +00:00
christos
40c99df3a6 Add an anonymous struct test 2015-10-14 16:32:55 +00:00
ozaki-r
44c97db88f Add tests for assigining/deleting IP addresses
The tests help to find defects related to creation/deletion
of routes/llentries and assigning/deleting of IP addresses.
2015-10-07 05:24:41 +00:00
uebayasi
8b6b28e153 Catch up with the current, generated Makefile format. 2015-10-04 07:59:47 +00:00
ozaki-r
3f3bb7d2ee Add delay to improve stability of test 2015-09-30 06:08:36 +00:00
ozaki-r
837fd81e06 Let ftp use a different output file from httpd's one
Previously the target file served by httpd and the output file of ftp
were identical (both index.html) on the filesystem.
2015-09-29 08:27:24 +00:00
ozaki-r
dacbac7968 Add simple tests for fastforward
The tests just do TCP communication via HTTP GET.
2015-09-28 01:54:14 +00:00
ozaki-r
c656a96f13 Improve test stability
ifconfig -a -v after ifconfig -a -z is expected to show '0 packets' for
all interface. However, shmif0 can receive packets between the two
operations. So we have to keep shmif0 down during such tests.
2015-09-15 09:51:01 +00:00
ozaki-r
f2a7b1339e Add tests for IPv6 ICMP redirect
Note that tests for redirect timeout doesn't work for now due to
PR kern/50240.

From s-yamaguchi@IIJ (with some fixes and tweaks by ozaki-r)
2015-09-14 05:22:56 +00:00
christos
200d779b75 make error more informative. 2015-09-12 15:21:33 +00:00
martin
4c5334afe3 Add two test cases that should cover PR 50228. 2015-09-11 09:25:52 +00:00
dholland
814554f5b1 Clear the XFAIL from PR 45391. 2015-09-08 05:24:27 +00:00
ozaki-r
cc31cfa669 Add tests to check if nexthop route lookup works
These tests reproduce a panic on assertion "ro->_ro_rt ==NULL ||
ro->_ro_rt->rt_refcnt > 0" failure that had been fixed.
2015-09-04 05:24:57 +00:00
ozaki-r
933f94aa13 Add tests for ifconfig options
From s-yamaguchi@IIJ (with some tweaks by me)
2015-09-03 10:22:52 +00:00
ozaki-r
0dac802154 Reflect the current ARP cache implementation in tests
net.inet.arp.prune and net.inet.arp.refresh were obsoleted.
2015-08-31 08:08:20 +00:00
ozaki-r
4e97073b73 Add tests for ICMP redirect timeout 2015-08-31 06:16:08 +00:00
dholland
796a8727a3 Remove rubbish. 2015-08-30 18:27:26 +00:00
dholland
aeaad94cd5 Fix glaringly wrong indent. 2015-08-29 19:19:43 +00:00
martin
c36c18165c Mark the ssh test as expected failure pointing to PR lib/50174 2015-08-26 09:19:20 +00:00
ozaki-r
67b961d3c9 Give a chance to send a DAD announce packet
ifconfig -w ensures IP addresses have left tentative state, however,
it doesn't guarantee that a DAD announce packet is sent. The kernel
clears tentative flag and then sends the packet so that ifconfig -w
can return before the kernel sends the packet.
2015-08-25 02:24:34 +00:00
ozaki-r
1a07436188 Disable another tentative state check
It's too ephemeral to check robustly.
2015-08-24 02:02:25 +00:00
christos
7ec9eaaab4 another wait test. 2015-08-23 07:15:16 +00:00
christos
fddcbf3df7 don't abuse %m in printf
fix error messages
2015-08-21 14:19:10 +00:00
ozaki-r
c8aae55351 Make a test a bit easy
Accept just 24h of expiration time in addition to 24h - a few seconds.
2015-08-18 00:58:35 +00:00
ozaki-r
c75b32f0a0 Improve test stability
A test for ndp -c was sometimes failed because between the deletion
and the check NS/NA messages were exchanged and a NDP cache was
recreated unexpectedly. To provent this situation, we do ifconfig
shmif0 down of the peer before the test, so the test won't be
interfered by the messages.
2015-08-17 07:47:21 +00:00
ozaki-r
e266b2d0dd Improve test stability
- Take a diff between packet dumps and use it for packet checking
  - it's resistant against packet reorder
- Seep 2 sec to make sure a NS message is sent
- Disable tentative state check for now
  - it's too ephemeral to check robustly
2015-08-17 07:06:58 +00:00
ozaki-r
14dcf9ff75 Reflect a fix on rt_refcnt
The test was adjusted based on wrong behavior.
2015-08-13 10:22:21 +00:00
ozaki-r
3e44abc850 Fix head and cleanup definitions for cache_expiration tests 2015-08-10 09:32:01 +00:00
ozaki-r
94e6f63fa9 Fix cleanup 2015-08-10 09:31:13 +00:00
ozaki-r
17bcc6ffef Check MAC address of ARP caches additionally 2015-08-07 05:32:12 +00:00
ozaki-r
7284c53128 Use rump.ping6 instead of ping6 with rumphijack(3) 2015-08-07 00:50:12 +00:00
ozaki-r
1f31785d33 Add basic tests for IPv6 Address Lifetime Expiry 2015-08-06 08:23:14 +00:00
ozaki-r
2179c9b76f Check the output of ndp -d strictly 2015-08-04 07:43:25 +00:00
ozaki-r
2f55a7d3ed Add tests for NDP 2015-08-03 09:54:20 +00:00
ozaki-r
25711fd317 Return 0 explicitly to avoid unexpected failures when $DEBUG=false 2015-07-31 10:16:36 +00:00
ozaki-r
6abe86b9fd Add tests of cache overwriting 2015-07-31 02:39:12 +00:00
ozaki-r
bf665d2f84 Add tests for temp option 2015-07-31 02:35:09 +00:00
ozaki-r
5d6a850962 Remove remaining debug code 2015-07-31 00:23:54 +00:00
ozaki-r
5e8861aca5 Fix cleanup; halt all running rump_servers 2015-07-31 00:22:44 +00:00
ozaki-r
7a175f4063 Add tests for arp -a option 2015-07-30 08:41:18 +00:00
ozaki-r
3fd3aaa9ea Fix TESTS_SH assignment 2015-07-30 05:43:42 +00:00
ozaki-r
0f1639b8cc Add tests for IPv4 DAD 2015-07-30 02:52:53 +00:00
ozaki-r
b4bfe1a892 Add tests for GARP 2015-07-30 02:51:05 +00:00
christos
862f3563b3 new test 2015-07-29 18:26:15 +00:00
ozaki-r
8fd2ad14ac Add tests for ARP
Forgot to commit this. Should fix the build.
2015-07-29 12:05:10 +00:00
ozaki-r
d4516589be Add tests for ARP 2015-07-29 06:10:09 +00:00
christos
198668b6a8 new c99 init test found by xorg's Iconify.c 2015-07-28 18:05:19 +00:00
ozaki-r
7dd2779b49 Reflect a fix for bridge
Due to PR 48104, some tests of ping/ping6 were failed but the tests now
should be successful. So reverse atf_check.

Bonus: the fix for PR 48104 also fixes another uknown failure.
2015-07-23 11:05:34 +00:00
matt
8827b899dc Build t_fpgetmask/t_fpgetround for aarch64 since they are now in libc 2015-07-08 01:09:25 +00:00
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
riastradh
d0319a8396 Tests claim rename(..., "x/.") yields EISDIR, so do that. Fixes zfs. 2015-04-09 05:03:58 +00:00
riastradh
8aa34a7d8b Fix return code of rmdir(nonempty) in zfs: ENOTEMPTY, not EEXIST. 2015-04-09 05:02:28 +00:00
rtr
cefecbaa6b fix typo bindinging -> binding 2015-04-05 23:28:10 +00:00
rtr
f0da3f110d add another test program for connect(2) that checks that connect fails
with EAFNOSUPPORT (similar to the bind test) if the domain of the socket
does not match the address family of the supplied address.

test currently fails as it should
2015-04-05 23:17:41 +00:00
rtr
a954fb5823 - ATF_REQUIRE(EINVAL == errno);
+       ATF_REQUIRE(EAFNOSUPPORT == errno);

as per http://pubs.opengroup.org/onlinepubs/009695399/functions/bind.html

while here remove some unnecessary initialization of port and addr members
and replace with a comment explaining why.
2015-04-05 23:15:54 +00:00
martin
4839e0f0d8 New test program for bind(2), with a single (currently eroneously failing)
test case from Tyler Retzlaff.
2015-04-05 06:36:52 +00:00
riastradh
a26f29c67f Fix remaining read(fd, NULL, 1) cases. 2015-04-04 12:34:44 +00:00
christos
a2bce09441 add test for typename as a function param 2015-04-03 21:37:26 +00:00
chopps
3fe0ea9c96 - Add new tests for -c check flag in resize_ffs 2015-03-29 19:37:02 +00:00
matt
1380094dbb add return_one_start 2015-03-29 00:38:36 +00:00
riastradh
a9b674d150 Let I/O errors override inode update errors in UFS.
Fixes tests/fs/vfs/t_io:read_fault for UFS.
2015-03-28 17:45:47 +00:00
riastradh
7fc64193c5 This doesn't affect p2k_ffs after all, no idea why yet. 2015-03-28 16:39:31 +00:00
riastradh
9707ebf68d Test that read fails with EFAULT even if O_SYNC|O_RSYNC are set. 2015-03-28 16:17:25 +00:00
matt
6084fd3ca0 Update for new RISCV ABI 2015-03-28 07:07:54 +00:00
riastradh
8c0065db93 Make this run in NetBSD 6 by using st_mtimespec instead of st_mtim.
st_mtimespec is our traditional nonstandard name for what POSIX
called st_mtim in 2008, but these aren't going to run in non-NetBSD
anyway so using the nonstandard name shouldn't be an issue.
2015-03-24 23:24:55 +00:00
riastradh
1674867715 zfs tests don't actually need privileges. 2015-03-24 23:22:47 +00:00
isaki
ec31227c02 one more white space -> tab. 2015-03-21 05:50:19 +00:00
isaki
47f8b9c01c Rewrite ilog2's test. PR lib/49745.
- Reorganize ilog2_basic to ilog2_32bit, ilog2_64bit and ilog2_const.
  ilog2_const is compile-time test for __builtin_constant_p() part of
  current ilog2() implementation.
- Remove fully meaningless ilog2_log2.  So this part of PR misc/44767
  is no longer present.
2015-03-21 05:32:07 +00:00
prlw1
a0b4c35b18 correct test name 2015-03-16 16:42:27 +00:00
isaki
787a0efa5b white space -> tab. 2015-03-14 07:23:46 +00:00
isaki
6abe86a4fd Reduce the number of loops.
It avoids timeout on slow machines, and I think that 100,000
times loop also satisfies the evaluation.
PR lib/49664 (no comments)
2015-03-07 09:59:15 +00:00
martin
0c9e453b20 Make sure to use the values calculated in the loop that is supposed to crash
the client process - so the compiler does not optimize it all away.
Also improve diagnostic in case of common bug: SIGSEGV instead of SIGBUS.
2015-02-28 13:57:08 +00:00
christos
19331afb8e add truncate causing signal test 2015-02-27 16:09:19 +00:00
martin
b6df10e8a5 Bump timeout for a poll() call slightly, so the test has a chance to work
on slow machines.
2015-02-27 13:15:49 +00:00
martin
610137e5d4 Double the timeout (to 120s) for slower machines 2015-02-27 09:16:07 +00:00
martin
94d18b32c6 Double the timeout for sentev_basic to 600 seconds to make it work on
slower machines.
2015-02-27 08:55:35 +00:00
martin
2a86fa6804 2 seconds is too small as timeout on slow machines, bump to 10 (my hppa
needs ~5).
2015-02-27 08:30:30 +00:00
martin
88c71edd30 Bump timeout to 20 seconds for slower machines. 2015-02-26 13:06:10 +00:00
martin
270998d298 Do not use artificial low timeouts - slow machines might be still paging
in all the rump environment. Bump timeout from 4 seconds to 20 (my shark
needs ~9).
2015-02-26 13:03:21 +00:00
martin
237b5a2e3f bsize_ffactor takes *very* long to complete on some slower machines (maybe
we should investigate?).
Bump timeout up to 1800 seconds (my hppa machine takes ~1100).
2015-02-26 13:00:26 +00:00
martin
dfdb00a60a Make the dummy data that we expect to go into .data section bigger,
otherwise on e.g. alpha it goes into the "small objects data" .sdata
section, which confuses the matching done in this test.
2015-02-17 11:51:04 +00:00
isaki
b8d13981be m68k (except sun2) never issue SIGBUS on unaligned accesses.
PR lib/49653.  Thanks martin@.
2015-02-17 09:47:08 +00:00
alnsn
6d5b9045a5 Add two more libbpfjit_jmp_jeq_x_noinit_XX tests. 2015-02-14 22:40:18 +00:00
alnsn
e3ced4adff Add two more bpfjit_jmp_jeq_x_noinit_XX tests. 2015-02-14 22:34:33 +00:00
alnsn
4bf0e499d1 Replace accidentally committed test with libbpfjit_jmp_jeq_x_noinit_ax test. 2015-02-14 20:39:09 +00:00
alnsn
3228cf99a8 Improve libbpfjit_jmp_jeq_x test. 2015-02-14 20:29:36 +00:00
alnsn
73969c29cc Improve bpfjit_jmp_jeq_x test. 2015-02-14 20:25:08 +00:00
alnsn
86cd3d4d52 BPF_JMP+BPF_JEQ+BPF_X doesn't compare X with k, it compares X with A.
Fix it in the bpfjit_jmp_jeq_x_noinit_ax test.
2015-02-14 19:55:05 +00:00
alnsn
009978ddb6 Avoid testing for zero rv in bpfjit_jmp_x_uninitialised. Unitialised
X isn't a problem for bpf_validate().
2015-02-14 17:28:19 +00:00
alnsn
35489d090f Add bpfjit_jmp_x_uninitialised test.
Found by http://lcamtuf.coredump.cx/afl/.
2015-02-14 16:48:30 +00:00
isaki
76ca8ec888 uint64_t -> uint32_t. 32bit is sufficient in this case
and it improved the performance approx 7% on my 68030.
see also PR lib/49664.
2015-02-14 08:46:02 +00:00
martin
55ba2da403 Fix strange editor mishap and start block comment on its own line. 2015-02-13 16:56:57 +00:00
alnsn
542a94c076 Add bpfilternegjmp test. 2015-02-11 23:39:07 +00:00
alnsn
bc33ca73a3 Add libbpfjit_jmp_ja_overflow test. 2015-02-11 23:33:16 +00:00
alnsn
c57239cf9d Add bpfjit_jmp_ja_overflow test. 2015-02-11 23:29:48 +00:00
alnsn
9dc6430c3c Add libbpfjit_jmp_ja_invalid test. 2015-02-11 23:17:16 +00:00
alnsn
b43344f3ff Add libbpfjit_ret_k and libbpfjit_bad_ret_k tests. 2015-02-11 23:00:41 +00:00
alnsn
fe765d6008 Add bpfjit_ret_k, bpfjit_bad_ret_k, bpfjit_jmp_ja_invalid tests. 2015-02-11 22:37:55 +00:00
alnsn
8f06b72616 Add bpfilterbadjmp and bpfilterbadret tests. 2015-02-11 19:37:37 +00:00
martin
d21477da21 Remove expected failure and references to port-alpha/46301, now that
it is fixed.
2015-02-09 19:39:48 +00:00
isaki
083cb7865f Skip kqueue_unsupported_fd test if /dev/drvctl is not configured
in the kernel.  PR bin/49644.

XXX Ideally, it's better to modify to use more generic device file.
2015-02-05 13:55:37 +00:00
christos
e7149865f6 PR/49617: Kirk Russell: posix_fallocate() should be returning an error on
failure, without setting errno.
2015-01-31 23:06:57 +00:00
nakayama
11b2083df7 The test requires symbols, so put STRIPFLAG= explicitly to avoid
stripping them if STRIPFLAG?=-s is defined in /etc/mk.conf.
2015-01-31 20:55:43 +00:00
martin
5f67668838 Mark the failing tests as expected failure and point to PR toolchain/49085. 2015-01-27 12:57:14 +00:00
pooka
fff8d9a1f5 call previous with the correct args too 2015-01-21 15:19:01 +00:00
pooka
d08959252d check that setuid() works for procs with >1 lwp 2015-01-21 15:00:50 +00:00
snj
72e6061c7e Remove stale comment about ARM fenv support. 2015-01-20 20:43:10 +00:00
christos
7e4263ceda cast and mask is overkill. 2015-01-14 22:57:27 +00:00
christos
d0b8ae57c5 bump warns. 2015-01-14 22:22:32 +00:00
christos
f7afbc7f00 PR/48958: rudolf: EVFILT_VNODE filter miscounting hardlinks (add test) 2015-01-14 22:22:14 +00:00
christos
9861bac74f cast to destination type. 2015-01-14 22:16:04 +00:00
ozaki-r
ac80d197aa Add tests for brconfig maxaddr 2015-01-08 06:33:11 +00:00
pooka
c5d51f5087 one more MKZFS fix (how many subdirs does this place have?) 2015-01-08 04:00:31 +00:00
pooka
e8f299cad3 fix MKZFS=yes ports 2015-01-08 03:50:56 +00:00
pooka
f454f435c3 edit one more particularly well-hidden site needing -lrumpkern_sysproxy 2015-01-07 23:12:31 +00:00
pooka
0397f3a735 Move sysproxy support into a separate component, rumpkern_sysproxy,
instead of it being always provided by the rump kernel base.  This
move accomplishes two things:

1) it is no longer necessary to provide sysproxy hypercall stubs for
   platforms which do not want to use sysproxy
2) it is easier to reason about the security aspects, since configurations
   not linking the sysproxy component simply do not support remote
   system calls

discussed on rumpkernel-users
2015-01-07 22:24:03 +00:00
ozaki-r
fdb884f32b Add some tests for rtable operations of if_bridge 2015-01-07 08:55:01 +00:00
joerg
707bb266b1 panic is printflike. 2015-01-06 21:36:38 +00:00
christos
c8990bd93c need immediate assignment 2015-01-06 16:08:06 +00:00
christos
d2c586bb77 simplify. 2015-01-06 16:04:58 +00:00
martin
87706a3247 Invoke the helper program from the test installation directory (instead
of the current/temporary).
Properly register failure.
2015-01-06 15:13:16 +00:00
christos
74e389883f fix helper program installation 2015-01-06 03:41:42 +00:00
christos
0900ce68ab fix directory 2015-01-06 03:20:24 +00:00
christos
2568fa481f assym.h moved. 2015-01-06 02:49:21 +00:00
christos
003f1382bf Form the sources in a better way. 2015-01-05 23:48:46 +00:00
christos
82329ad88d Too hard to cross-build mkassym.c correctly, use a standard assym.h 2015-01-05 23:46:49 +00:00
christos
6d5379c9ea add a dummy mkassym
look in more places for cpu_in_cksum
2015-01-05 23:25:10 +00:00
christos
fca19cad2d Port the in_cksum test from regress. 2015-01-05 22:38:36 +00:00
christos
03f0cf7814 add proper include files. 2015-01-04 20:19:46 +00:00
gson
263eee9471 Mark the lib/libm/t_fmod test as an expected failure under QEMU,
with a reference to PR misc/44767.
2015-01-03 14:23:53 +00:00
gson
59b4f8a08b Need stdlib.h for EXIT_FAILURE 2015-01-03 14:21:05 +00:00
martin
719bfa7d23 Skip rounding mode tests on ARM FPUs that do not allow configuration of them. 2014-12-29 19:51:53 +00:00
martin
ffed0c5e5a Include <ieeefp.h> even for the <fenv.h> case since we use fpsetmask()
to detect ARM Cortex NEON fpus.
2014-12-29 18:36:27 +00:00
hannken
08aa9f9f06 Test v7fs_lstat_symlink is no longer expected to fail. 2014-12-29 15:31:44 +00:00
martin
ea1bc3e21f Move the list of <fenv.h> supporting architectures to the makefile and
sync it with other copies.
2014-12-27 18:03:41 +00:00
martin
619d31d686 Enable fenv for arm 2014-12-27 18:00:13 +00:00
martin
5fe2180eb8 Enable fenv.h on arm again 2014-12-27 17:55:05 +00:00
martin
dce8d6f504 fenv(3) support for hppa 2014-12-27 16:54:02 +00:00
martin
ca6af3dc0f Disabel fenv tests for arm, the implementation is incomplete. 2014-12-22 11:21:08 +00:00
martin
dbdfb3d301 Add a test program for basic fenv.h rounding mode/exception mask testing. 2014-12-21 15:37:03 +00:00
uebayasi
867e9b4f2b config(1): Fix test breakage
Now config(1) checks the content of $S/conf/Makefile.kern.inc.  Install it
into config(1) test directory to fix test.  Noticed by Martin Husemann.
2014-12-20 07:02:25 +00:00
ozaki-r
ba54e088ff Fix LDADD.t_compat
This unbreaks the build.
2014-12-08 07:34:31 +00:00
ozaki-r
b5aa5c8930 Add basic tests for ifconf (SIOCGIFCONF) 2014-12-08 04:23:03 +00:00
dholland
bbf415f038 Null commit, to note that the previous commit by darrenr (which said
just "PR kern/47462") didn't even have the right PR number. The correct
number, as far as I can tell, was PR 47262.

/brick
2014-12-06 19:31:25 +00:00
christos
1369c74b97 Add casts for big endian machines 2014-12-03 13:10:49 +00:00
ozaki-r
279c636338 Fix TESTSDIR 2014-12-03 08:14:26 +00:00
christos
d36c52e73e tests for network address printers. 2014-12-02 19:48:21 +00:00
martin
c8560b5aee Remove the "broken on BE" mark from the N14 testcase - ozaki-r fixed it
recently.
2014-12-01 19:46:29 +00:00
ozaki-r
9341145987 Fix wrong expected outputs
IP addresses in the expected outputs looks reversed (in byte order).
It seems the expected outputs had been generated based on source code
with a bug and the bug was fixed by a commit titled "#534 destination
list hashing not endian neutral" by darrenr@.
2014-11-25 08:25:46 +00:00
agc
996632d6d1 Since the netpgpverify rewrite to have no external pre-requisites, the
output format for signatures has changed cosmetically (mainly
whitespace changes).  Re-format all the test cases so that the tests
now pass again with the new output format:

	Tests root: /usr/tests/usr.bin/netpgpverify

	t_netpgpverify (1/1): 2 test cases
	    netpgpverify_dsa: [0.261980s] Passed.
	    netpgpverify_rsa: [0.237469s] Passed.
	[0.509571s]

	Summary for 1 test programs:
	    2 passed test cases.
	    0 failed test cases.
	    0 expected failed test cases.
	    0 skipped test cases.
2014-11-23 01:56:35 +00:00
christos
e45a1decc7 test for c99 flexible packed arrays 2014-11-20 21:18:47 +00:00