| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
| |
It is by no means expected to perform a complete test of the library
for correctness, but is meant to test the API to make sure libmp (or
libcrypto) updates don't totally break the library.
|
|
|
|
|
|
| |
the IPv6 loopback address.
Warns ?= 2.
|
|
|
|
| |
UDP, and TCP IPv6 sockets.
|
|
|
|
|
| |
These tests can obviously only be run on Merced processors, as they don't
implement the long branch.
|
| |
|
|
|
|
|
|
|
| |
a value of 0 in the extended region.
Make sure that we get EINVAL back if we try to truncate a read-only
file descriptor.
|
|
|
|
| |
various non-file objects fails.
|
|
|
|
| |
thorough than the tests regarding what should be tested.
|
|
|
|
| |
Supported by: Wheel Sp. z o.o. (http://www.wheel.pl)
|
|
|
|
| |
- Verify various sector sizes.
|
| |
|
| |
|
| |
|
|
|
|
| |
Obtained from: NetBSD
|
|
|
|
|
|
|
|
| |
o If something is wrong with options, then output short usage help message.
o Output errstr returned from strtonum(3).
PR: bin/98141
Submitted by: Andrey Simonenko
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
data passing for unix domain sockets, stream and datagram.
There are 15 tests:
Test/Type of socket STREAM DGRAM
----------------------------------------------------------------------
Sending, receiving cmsgcred 1 6
Receiving sockcred (listening socket has LOCAL_CREDS) 2 n/a
Receiving sockcred (accepted socket has LOCAL_CREDS) 3 n/a
Receiving sockcred n/a 7
Sending cmsgcred, receiving sockcred 4 8
Sending, receiving timestamp 5 9
Sending, receiving cmsgcred (no control data) 10 13
Sending cmsgcred, receiving sockcred (no control data) 11 14
Sending, receiving timestamp (no control data) 12 15
Currently we pass 8 tests. All the rest marked as TODO.
PR: kern/90800
Submitted by: Andrey Simonenko
|
|
|
|
|
|
|
| |
return success.
PR: kern/98064
Submitted by: Kirk Russell
|
|
|
|
|
|
| |
test binary.
Reported by: maxim
|
|
|
|
|
| |
lengths of headers and data and makes sure it receives about the right
number of bytes.
|
| |
|
| |
|
|
|
|
| |
test suite.
|
|
|
|
|
|
|
| |
a regression test init-i-P.t which asserts this, but it looks I forgot to
update nokey.t regression test.
MFC after: 1 day
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
subject: ranges of uid, ranges of gid, jail id
objects: ranges of uid, ranges of gid, filesystem,
object is suid, object is sgid, object matches subject uid/gid
object type
We can also negate individual conditions. The ruleset language is
a superset of the previous language, so old rules should continue
to work.
These changes require a change to the API between libugidfw and the
mac_bsdextended module. Add a version number, so we can tell if
we're running mismatched versions.
Update man pages to reflect changes, add extra test cases to
test_ugidfw.c and add a shell script that checks that the the
module seems to do what we expect.
Suggestions from: rwatson, trhodes
Reviewed by: trhodes
MFC after: 2 months
|
|
|
|
|
|
|
|
|
|
|
|
| |
o Add mount and umount actions so that partitions can be in use.
o Extend the testing of the add verb to include overlapping
partitions.
o Add tests for the remove verb. this includes tests to remove
a partition when in use (i.e. is mounted).
o Add a MD5 checksum to the output of the conf action so that
it can be tested. Make sure the MD5 doesn't vary based on
certain dynamic behaviour that is irrelevant to the output.
o Add MD5 checksums to the expected result of conf actions.
|
|
|
|
|
|
| |
Add support for read-write parameters. Allow an optional initializer
for read-write parameters. Print the value of those parameters on
success following the PASS.
|
|
|
|
|
| |
and confirms that only SOCK_RAW works with socket(), and nothing works
with socketpair().
|
|
|
|
|
| |
socket() and socketpair() of SOCK_STREAM and SOCK_DGRAM types. It
also confirms that SOCK_RAW fails.
|
|
|
|
|
| |
shell environment, eg after "VAR=val eval" VAR remains set. Currently fails
but will be implemented soon.
|
|
|
|
| |
tcp drop sysctl. This should exercise the ECONNABORTED accept case.
|
| |
|
|
|
|
| |
the next waiting socket has had a close on the remote endpoint already.
|
|
|
|
|
|
| |
special built-in utilities they must terminate the shell, for other
utilities only a error message shall be written. We currently fail both
tests.
|
|
|
|
|
|
|
| |
the first part before starting, or the TCP port we want to bind may be in
use still. Sleep for a short period between tests.
Use SIGTERM instead of SIGKILL.
|
|
|
|
| |
fails, we kill the right partner process.
|
| |
|
|
|
|
|
| |
while the socket is still open; one variant closes the socket while in
time wait, and a second lets time wait expire while the socket is open.
|
|
|
|
|
|
|
| |
pru_abort() by closing a listen socket while completed connections are
presenting in its listen queue. Unfortunately, it's difficult to
trigger the other two pru_abort() cases using user APIs, so they are
not covered by this test.
|
|
|
|
|
|
| |
mode. Support both connection via connect() and sendto(), but don't
compile in sendto() for now, since netipx doesn't appear to actually
implement that (doh).
|
|
|
|
|
| |
sockets, binds a local port, sends a datagram, and confirms that it is
received.
|
|
|
|
|
| |
tests up and running. This is likely a message to myself in six months
when I've completely forgotten how.
|
|
|
|
|
|
|
|
| |
times, with variable length sleeps between socket() and close(). This
will help to ensure that IPX/SPX timers fire while the sockets are
open, and hence have PCB's on the IPX pcb list, so that if timers are
going to stumble over PCB types they don't expect, it will happen as
part of this test.
|
|
|
|
| |
types supported by the FreeBSD netipx implementation.
|
|
|
|
|
|
| |
Simple audit pipe ioctl regression test.
Obtained from: TrustedBSD Project
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
together.
MFC after: 3 days
|