Age | Commit message (Collapse) | Author |
|
|
|
|
|
command line switch and udp4:// or udp6:// loghost prefix.
|
|
iked. Both daemons share the same dh implementation, but this makes
it easier to test iked directly.
|
|
|
|
machine, each test kills any syslogd first. At the end the system's
syslogd gets restarted.
The test framework runs a client, and a server, and a syslogd. The
messages are passed via the log socket or via UDP from the client
to syslogd. From there UDP transport is used to reach the server.
All processes write log files where the message has to show up.
The test arguments are kept in the args-*.pl files.
The content of a log file, the data sent to a pipe process and what
the server received are checked. The invocation of the sendsyslog(2)
syscall is checked with ktrace, the open file descriptors of syslogd
are checked with fstat.
|
|
DIOCADDRULE EBUSY turns into an error message that pfctl -n catches.
DIOCXCOMMIT EINVAL after the kernel rejected the rules was reported
to occur, possibly from hfsc.c: this should be fixed as well.
ok henning mikeb sthen
|
|
just like a closing delimiter. This didn't work in groff-1.15,
but it now works in groff-1.22.
After being closed by delimiters, .Nm scopes do not reopen.
Do not suppress white space after .Fl if the next node is a text node
on the same input line; that can happen for middle delimiters.
Fixing an issue reported by jmc@.
|
|
|
|
machine, each test kills any syslogd first. At the end the system's
syslogd gets restarted.
The test framework runs a client, and a server, and a syslogd. The
messages are passed via the log socket or via UDP from the client
to syslogd. From there UDP transport is used to reach the server.
All processes write log files where the message has to show up.
The test arguments are kept in the args-*.pl files.
The content of a log file, the data sent to a pipe process and what
the server received are checked. The invocation of the sendsyslog(2)
syscall is checked with ktrace, the open file descriptors of syslogd
are checked with fstat.
|
|
no -type, -width, -offset or -compact arguments whatsoever;
this got broken in mdoc_validate.c rev. 1.156.
While here, sort headers.
|
|
This includes coding style, better error messages and variable
naming.
|
|
- Move the tests from splice to new sosplice directory for consistent naming.
- Split the API tests and the TCP splicing tests into separate directories.
- Create some tests for the upcoming UDP splicing.
- Tests can be run in obj directories now.
- The API tests can run both on a local and on a remote machine now.
- Fix the forking TCP tests which splice and read or write simultaneously.
- Bunch of little fixes for races in the tests.
- Deduplicate code, move checks into common functions.
|
|
do. Also explain the optional environment variables.
|
|
bytes cannot be handled correctly, allow another variation.
|
|
system call might fail with EAGAIN when the other forked process
has already read the data.
|
|
limit also counts the mbufs in it, so packets could be dropped.
Increase both send and receive socket buffer size.
|
|
with ony byte content length triggered relayd to hang. This has
been fixed already.
|
|
validation, man_node_unlink() switches to MAN_NEXT_CHILD. After
that, we have to switch back to MAN_NEXT_SIBLING after completing
validation, or subsequent parsing would add content into an already
closed node, clobbering potentially existing children, causing
information loss and a memory leak. Bug found by kristaps@ with
valgrind in groff(7) on Mac OS X.
Note that the switch back must be conditional, for if the node being
validated itself gets deleted, we must *not* go to MAN_NEXT_SIBLING,
which would not only yield wrong results in general but also crash
in malformed manuals having an empty paragraph before the first .SH,
for example OpenBSD c++filt(1).
While here, add the missing <sys/types.h> as required before mandoc.h.
|
|
|
|
Note that .It and .Nm blocks without bodies cannot be generated by
valid mdoc(7) syntax but are a adequate representations of invalid
mdoc(7) constructs like Bl -hang It Bo Sh and Sh SYNOPSIS Nm Bo Sh.
|
|
It now runs correctly with 'make depend regress'
|
|
|
|
even though the list is still the last processed macro.
This fixes a regression introduced in mdoc_macro.c rev. 1.95:
Ulrich Spoerlein <uqs at FreeBSD> reports that various of their
kernel manuals trigger assertions.
|
|
|
|
this causes errors with stricter C compilers
|
|
directly with a simplified CBC implementation.
|
|
code directly. This test is converted the same way jsing@ has recently
converted an XTS test by pulling in xform.c code.
|
|
directly. This test case uses ECB vectors, therefore no chaining is
required.
|
|
and no longer matches the desired output
|
|
|
|
|
|
Not hooked to the build yet because there are still too many bugs.
|
|
|
|
|
|
|
|
|
|
|
|
ok @deraadt
|
|
|
|
These can be used in -portable on platforms that don't support ECDSA.
|
|
-portable on platforms that don't have ECDSA in their OpenSSL. ok djm
|
|
nc implementations that produce error messages. from -portable
|
|
being-standardized <endian.h>
ok deraadt@ millert@ beck@
|
|
to specify an array of md5 hashes in the test arguments and check
all of them in the client and server log files. So test that relayd
does not modify the http body.
|
|
Also correct some format strings.
From Doug Hogan (doug (at) acyclic.org)
|
|
Noted by Doug Hogan (doug (at) acyclic.org)
|
|
the errno of an intervening cleanup operation like close/unlink/etc.
Diff from Doug Hogan (doug (at) acyclic.org)
|
|
|
|
|