Commit Graph

2646 Commits

Author SHA1 Message Date
christos
fa75a57426 new test for struct that only has anon members, and that the size of struct
is computer right.
2016-08-18 14:45:56 +00:00
jakllsch
d7cdc3c29e t_usbhid/check_hid_get_data has been failing since it existed, mark as such 2016-08-17 12:10:42 +00:00
jakllsch
d0b2f20734 These clock_subr tests are no longer expected to fail. 2016-08-17 12:06:49 +00:00
roy
9fcb01a336 Fix test_lo6 because ::1 now has RTF_LOCAL assigned to it. 2016-08-16 10:34:12 +00:00
jakllsch
64d64ddcb3 tests for sys/dev/clock_subr.c 2016-08-14 14:55:41 +00:00
christos
db9b3c4eff order netinet6 properly. 2016-08-13 11:22:11 +00:00
christos
02d61e3495 order network libraries properly. 2016-08-13 11:21:06 +00:00
christos
c8a27b7a24 The required initialization order for net rump net services is:
rumpnet rumpnet_net [rumpnet_netinet6] rumpnet_netinet.
We need rumpnent_net first because of if_init1() and to initialize loopback.
2016-08-13 11:20:00 +00:00
kre
408b946945 Correct use of incorrect errno - should have no real practical effect. 2016-08-11 21:34:11 +00:00
kre
82205f76b1 One more -lrumpdev 2016-08-11 21:29:44 +00:00
kre
5bee7fb413 + -lrumpdev 2016-08-10 23:49:03 +00:00
kre
674d7cd1f8 + -lrumpdev 2016-08-10 23:47:14 +00:00
kre
976d7ab300 + -lrumpdev 2016-08-10 23:25:39 +00:00
kre
e9acd28970 + -lrumpdev 2016-08-10 23:07:57 +00:00
roy
e746a65f68 Add -lrumpdev so that tests work again. 2016-08-10 23:00:39 +00:00
kre
fa3392f086 + -lrumpdev 2016-08-10 22:45:39 +00:00
kre
d5417f3297 Move -lrumpdev so it is effective.
This test still fails (as does another using tap interfaces) ...

tc-se:rump.ifconfig: clone_command: Device not configured
tc-se:rump.ifconfig: exec_matches: Device not configured

Something is wrong with rumpnet_tap ...
2016-08-10 22:42:21 +00:00
kre
e416c313ce + -lrumpdev (and avoid doing stuff twice). 2016-08-10 22:37:07 +00:00
kre
113943956a + -lrumpdev 2016-08-10 22:30:02 +00:00
kre
c7f69180d5 + -lrumpdev 2016-08-10 22:17:44 +00:00
kre
71c9d3421c + -lrumpdev 2016-08-10 22:05:07 +00:00
kre
02ef134954 + -lrumpdev 2016-08-10 21:33:52 +00:00
kre
b95a77e39c Extra libs for rump. 2016-08-10 21:10:18 +00:00
ozaki-r
a0b47389e9 Add rumpdev library for config_cfdriver_attach 2016-08-10 07:50:37 +00:00
kre
28a5575028 This test should be testing how the kernel should behave, not how
it actually (used to) behave when it was incorrect...   Aside from
a possible EPERM (which is not tested) the only error possible from
mlock() is ENOMEM.   POSIX also allows EINVAL if the address is not
page aligned and the implementation does not round down to the previous
page boundary, but NetBSD does.

The kernel was recently fixed to return the correct errors for mlock()
so now we really need the test to be checking them, and not expecting
the incorrect errno values that the kernel used to return.

Same for munlock() - there ENOMEM is the only possible error, again,
EINVAL cannot happen as the kernel rounds to page boundaries.
For munlock() the kernel has not yet been corrected (that is coming
real soon...) and one of the munlock() tests will currently fail
(as of the time this commit is made, hopefully not for much longer)
as it should - it is indicating a kernel bug.

Note that NetBSD mlock(2) talks about EINVAL for cases where the length
parameter is negative ... but that is a size_t - good luck having that
ever occur (the man page will soon be corrected as well.)
2016-08-09 12:02:44 +00:00
pgoyette
e9b0487b4a This now needs librumpdev and librumpvfs to work. 2016-08-08 15:01:59 +00:00
pgoyette
9d0547e2ff Need librumpdev and librumpvfs 2016-08-08 14:58:40 +00:00
pgoyette
95d2314211 This one needs librump dev (and librumpvfs) too 2016-08-08 14:54:27 +00:00
pgoyette
b28fefb558 And this one also needs librumpvfs 2016-08-08 14:49:35 +00:00
pgoyette
00d0208049 More need for librumpdev 2016-08-08 14:46:35 +00:00
pgoyette
08db8f650e No underscore needed 2016-08-08 14:40:19 +00:00
pgoyette
64515c0f48 We also need librump_vfs
While here, remove duplicate entry for librump
2016-08-08 14:34:02 +00:00
pgoyette
c33a62fd17 And yet another one 2016-08-08 14:22:43 +00:00
pgoyette
03427d6925 Another place where we need librumpdev 2016-08-08 14:16:32 +00:00
pgoyette
e140ba111a We now need librumpdev to resolve rumpns_config_cfdriver_attach which
is now used in a bunch of network modules/components
2016-08-08 14:11:08 +00:00
pgoyette
2c49ff4a48 Add rumpdev library since we're now calling config_cfdriver_attach()
Should fix the newly-introduced test failure.
2016-08-07 23:34:31 +00:00
scole
d68880c4ee PR port-ia64/51261
Fix for ia64
2016-08-05 15:02:29 +00:00
scole
ea5cb0d634 PR port-ia64/51261
Make this compile for ia64
2016-08-05 15:01:39 +00:00
jakllsch
cfdb571b53 use __dead 2016-08-04 11:49:07 +00:00
christos
c10c4abe0f Realtime signal support from GSoC 2016, Charles Cui. 2016-08-04 06:43:43 +00:00
pgoyette
8d18247504 We don't have any FILES, so no need for a FILESDIR 2016-08-03 23:53:50 +00:00
christos
59c5c6b5ef we require root for sched_fifo, and more verbose messages. 2016-07-31 13:01:29 +00:00
njoly
d3e4dbe2f3 New getsockname(2) testcase for UNIX domain sockets. 2016-07-30 11:03:54 +00:00
pgoyette
64222d3a12 Mount the snapshot read-only; otherwise we get a nasty panic.
Re-order the clean-up steps to properly undo what we did.
2016-07-29 20:27:37 +00:00
pgoyette
0c0a621f71 Add a basic test for fss(4)
XXX For now, we just create required files (including mount-points)
XXX in the test's working directory.  Eventually someone with more
XXX rump-foo than I should create a fss rump-component and then update
XXX the test to run under rump.
2016-07-29 06:13:39 +00:00
pgoyette
7dc153cb5a Remove. Nothing here (or below) seems to refer to it, and it won't
work anyway due to the case of the 'l' in CPPFlAGS
2016-07-29 06:11:12 +00:00
pgoyette
3ff4e5ad94 Update the test - the "official" name of the vnd configuration utility
was changed in NetBSD 7 to vndconfig(8).
2016-07-29 05:23:24 +00:00
ozaki-r
3db8106383 Add some tests for route change 2016-07-21 02:02:30 +00:00
ozaki-r
852524ba75 Remove extra grep 2016-07-21 01:56:54 +00:00
ozaki-r
261b1cf92f Make the test name self-descriptive 2016-07-21 01:56:27 +00:00