summaryrefslogtreecommitdiff
path: root/regress
AgeCommit message (Collapse)Author
2022-05-25Adjust code after adding an extra argument to community_ext_addClaudio Jeker
2022-05-24Recent changes to truncate(2) swapped the ordering of some validationsAnton Lindqvist
causing EACCESS as opposed of ESDIR to be returned while trying to truncate a directory as a user lacking write permissions to the same directory. As this behavior is reasonable, change the truncate directory from /etc/ to /tmp which makes the test pass both as root and non-root.
2022-05-20Add expected failures for octeon and riscv64.mbuhl
2022-05-20Re-classify the roff(7) \r (reverse line feed) escape sequenceIngo Schwarze
from "ignore" to "unsupported" because when an input file uses it, mandoc(1) is likely to significantly misformat the output, usually showing parts of the output in a different order than the author intended.
2022-05-20Test the handling of some additional one-character escape sequencesIngo Schwarze
that take no argument and are ignored: \% \& \^ \a \d \t \u \{ \| \} No change to parsing or formatting needed.
2022-05-20New ldapsearch does not support -h and -p for host and port, butAlexander Bluhm
accepts -H ldapuri. Use startup and cleanup framework. Pidfile does not work anymore, use pkill ldapd. Delete deactivated and failing cpan test.
2022-05-19following the fixed parsing direction of roff_expand() in roff.c rev. 1.260,Ingo Schwarze
some diagnostics now appear in a more reasonable order, too
2022-05-19Adjust a column number in an error messageIngo Schwarze
after the roff_expand() reorganization in roff.c rev. 1.260. The new parsing direction has two effects: 1. Correct output when a line contains more than one expanding escape sequence that has a side effect. 2. Column numbers in diagnostic messages now report the changed column numbers after any expansions left of them have taken place; in the past, column numbers refered to the original input line. Arguably, item 2 was a bit better in its old state, but slightly less helpful diagnostics are a small price to pay for correct output. Besides, when the expansion of user-defined strings or macros is involved, in many cases, mandoc(1) is already unable to report meaningful line and column numbers, so item 2 is not a noteworthy regression. The effort and code complication for fixing that would probably be excessive, in particular since well-written manual pages are not supposed to use such features in the first place.
2022-05-19fix a wrong column number that got fixed as a side effectIngo Schwarze
of the roff_expand() reorganization in roff.c rev. 1.260
2022-05-19remove a bogus warning that went away as a side effectIngo Schwarze
of the roff_expand() reorganization in roff.c rev. 1.260
2022-05-19Deal with STACK_OF divergence between LibreSSL and OpenSSLTheo Buehler
2022-05-16Add a simple test that exercises ASN1_STRING_to_UTF8() a little.Theo Buehler
2022-05-16The pf IPv4 option and IPv6 extension header filter has stricterAlexander Bluhm
checks for IGMP and ICMP6 MLD packets. Use ttl, hlim, link-local, and multicast features in test where necessary.
2022-05-15regress test for in-place transfers and clobbering larger files withDamien Miller
smaller ones; would have caught last regression in scp(1)
2022-05-14Add the two length tests. Can't currently run them because we need anTheo Buehler
echo server.
2022-05-13Tweak regress in such a way that it would have caught the bug inTheo Buehler
d2i_ASN1_OBJECT() fixed in a_object.c r1.48. from jsing
2022-05-13Output the relevant time specs before the assertion, in the hopes ofAnton Lindqvist
figuring out why this occasionally fails.
2022-05-12Enable X509v3_asid_subset() tests now that they no longer segfault.Theo Buehler
2022-05-12Add a few more testcases for X509v3_asid_subset()Theo Buehler
2022-05-10If Ruby 3.1 isn't available, try to fall back to Ruby 3.0 so thatTheo Buehler
regress on bluhm's test machines have a chance to pass on slower architectures while package builds catch up.
2022-05-10The tests no-symlink and oldlib2 pass now. Do not expect failure.Alexander Bluhm
2022-05-09Add RSC regress bitsJob Snijders
2022-05-08Default Ruby is now 3.1Theo Buehler
2022-05-08Adjust regress after zlib update. Part of the following commit:Theo Buehler
commit 0d36ec47f310478549c0864f215ab5c0114c49ba Author: Mark Adler <madler@alumni.caltech.edu> Date: Wed Jan 2 18:10:40 2019 -0800 Don't bother computing check value after successful inflateSync().
2022-03-24Import upstream madler/zlib test files and run them with our libz.Alexander Bluhm
2022-05-05Switch wycheproof.go to using the EVP HKDF API.Theo Buehler
Gotta love EVP... Instead of a single, obvious call to HKDF(), you now need to call eight EVP functions with plenty of allocations and pointless copying internally. If you want to suffer even more, you could consider using the gorgeous string interface instead.
2022-05-05we no longer announce rounding hereDave Voutila
2022-05-05unbreak vmd(8) regress, update string matchesDave Voutila
2022-05-01Split a new function roff_parse_comment() out of roff_expand() because thisIngo Schwarze
functionality is not needed when called from roff_getarg(). This makes the long and complicated function roff_expand() significantly shorter, and also simpler in so far as it no longer needs to return ROFF_APPEND. No functional change intended.
2022-04-30Provide a new function roff_req_or_macro() to parse and handle a requestIngo Schwarze
or macro, including context-dependent error handling inside tbl(7) code and inside .ce/.rj blocks. Use it both in the top level roff(7) parser and inside conditional blocks. This fixes an assertion failure triggered by ".if 1 .ce" inside tbl(7) code, found by tb@ using afl(1). As a side benefit for readability, only one place remains in the code that calls the main handler functions for the various roff(7) requests. This patch also improves column numbers in some error messages and various comments.
2022-04-29Send IP options with maximum length to check for overflow.Alexander Bluhm
2022-04-29Cleanup makefile so that tests are similar. Link pair to build.Alexander Bluhm
2022-04-29Link pf_opts to the tree.Alexander Bluhm
2022-04-29Check that IGMP and ICMP6 MLD packets with router alert option pass.Alexander Bluhm
Other combinations with IP options are still blocked.
2022-04-28Use $(( )) arithmetic expansion instead of `expr something`Jeremie Courreges-Anglas
No need to use an external tool when the shell can handle this basic task.
2022-04-28Add tests that decode sequences into ASN.1 strings.Joel Sing
Test decoding of sequences with length and indefinite length into an ASN.1 string - in this case the ASN.1 is not decoded, rather the octets are stored directly as the content of the string. This exercises a specific path through the ASN.1 decoder. (you know asn1complex is living up to its name when you have to import openssl/asn1t.h directly...)
2022-04-28The syntax of the roff(7) .mc request is quite specialIngo Schwarze
and the roff_onearg() parsing function is too generic, so provide a dedicated parsing function instead. This fixes an assertion failure when an \o escape sequence is passed as the argument; the bug was found by tb@ using afl(1). It also makes mandoc output more similar to groff in various cases.
2022-04-28Environment variables must be passed through env(1) while using sudo.Anton Lindqvist
ok bluhm@
2022-04-28oops, fix wrong .TH nameIngo Schwarze
2022-04-27Send packets with IPv4 option or IPv6 extension header over loopbackAlexander Bluhm
interface and check which of the packets are dropped by pf. The bad packets appear in pflog0 tcpdump. This regress is testing rules with and without allow-opts.
2022-04-28Element next-line scopes may nest, so man_breakscope() may have toIngo Schwarze
break multiple element next-line scopes at the same time, similar to what man_descope() already does for unconditional rewinding. This fixes an assertion failure that tb@ found with afl(1), caused by .SH .I .I .BI and similar sequences of macros without arguments.
2022-04-28Get rid of set but not used compiler warning.Anton Lindqvist
2022-04-27The timeout in ospf6d regress seems to be too short. Increase itAlexander Bluhm
to make the test more stable. debugged by Anton Borowka
2022-04-27Send packets with IPv4 option or IPv6 extension header over loopbackAlexander Bluhm
interface and check which of the packets are dropped by pf. The bad packets appear in pflog0 tcpdump. This regress is testing rules with and without allow-opts.
2022-04-27Add test case capable of triggering the recently fixed use after free,Anton Lindqvist
based on the syzkaller reproducer.
2022-04-27Ensure we clear the error stack before running tests that print errors.Joel Sing
2022-04-27Enable ASN.1 INTEGER tests with invalid lengths/encodings.Joel Sing
2022-04-27The .AT, .DT, and .UC macros are allowed inside next-line scopeIngo Schwarze
and never produce output at the place of their invocation. Minibugs found while investigating unrelated afl(1) reports from tb@.
2022-04-27add a test case for the Imath update, along with notes about what'sMarc Espie
exactly going on, if one day we trust wantlib enough to be accurate (hello libsets)
2022-04-27Fix three bugs regarding the interaction of \z and \h:Ingo Schwarze
1. The combination \z\h is a no-op whatever the argument may be. In the past, the \z only affected the first space character generated by the \h, which was wrong. 2. For the conbination \zX\h with a positive argument, the first space resulting from the \h is not printed but consumed by the \z. 3. For the combination \zX\h with a negative argument, application of the \z needs to be completed before the \h can be started. In the past, if this combination occurred at the beginning of an output line, the \h backed up to the beginning of the line and after that, the \z attempted to back up even further, triggering an assertion. Bugs found during an audit of assignments to termp->col that i started after the bugfix tbl_term.c rev. 1.65. The assertion triggered by bug 3 was *not* yet found by afl(1).