summaryrefslogtreecommitdiff
path: root/regress
AgeCommit message (Collapse)Author
2017-03-04Remove commented out code and fix indentation of surrounding statements.Joel Sing
2017-03-04Remove handling for SSLv2.Joel Sing
2017-03-03Do not use an obsolete copy of a Perl module from CPAN for testing.Alexander Bluhm
Require that the p5-Net-Flow package is installed and use it.
2017-03-03Ensure MD and key initialized before processing HMACKinichiro Inoguchi
Ensure both MD and key have been initialized before processing HMAC. Releasing HMAC_CTX in error path of HMAC(). In regress test, added test 4,5,6 and cleaned up the code. ok jsing@
2017-03-01Print message why tests are skipped.Alexander Bluhm
2017-03-01Add EVP test for MD5-SHA1.Joel Sing
2017-03-01Avoid warnings from ssh -t, check remote SUDO at beginning.Alexander Bluhm
2017-03-01Print SKIPPED if the architecture dependent regression tests areAlexander Bluhm
executed on the wrong machine. This allows to distinguish their result from a passed test.
2017-03-01Use consistent address schema with local and remote machine. FillAlexander Bluhm
variables with example IPs from my daily test run.
2017-02-28IPv6 packets with routing header 0 are dropped by pf, but answeredAlexander Bluhm
with ICMP6 parameter problem by the network stack. This test expects the ICMP6 packets, so disable pf on the remote machine temporarily.
2017-02-28Fragment reassembly code exists in pf and network stack. To testAlexander Bluhm
both, run the tests in a loop. Disable and enable pf on the remote machine automatically.
2017-02-28Reflect recent net/route.c change. Adding a conflicting route noMartin Pieuchot
longer increment a 'use' counter.
2017-02-27This test cannot pass while pf on localhost filters packets statefully.Alexander Bluhm
If the local pf is enabled, write a temporary stateless pass rule into the regress anchor.
2017-02-27Do not turn on pf in a regression test, require that it has beenAlexander Bluhm
enabled before. Better skip the test than create unexpected side effects.
2017-02-27Add IPsec tests for ipip encapsulation.Alexander Bluhm
2017-02-25Add missing includes to avoid implicit function declarations.Jonathan Gray
2008-01-02regression test for lazy binding.Matthieu Herrb
"people need never hold off on adding stuff to regress" deraadt@
2017-02-23Check return value of every BN_* functions in bntestKinichiro Inoguchi
- add macro CHECK_GOTO - unify function return code to rc - add err: label for error goto ok bcook@
2017-02-22ldapd regress tests depends on openldap-client, checkGleydson Soares
if that package is installed, otherwise print a warning and skip them but not fail. requested by/ok mpi@
2017-02-22Enable semarie's sendrecvfd testsTheo Buehler
2017-02-22Add regress tests for fd passing and pledge. Check sending and receivingTheo Buehler
all 7 types of vnodes as follows: - nopledge: no pledge - verify that send/recv work as expected - sendfd: pledge the sender with "stdio sendfd" - recvfd: pledge the receiver with "stdio recvfd" - nosendfd: pledge the sender with "stdio" (it is expected to fail) - norecvfd: pledge the receiver with "stdio" (it is expected to fail) This results in 35 possible combinations with different semantics depending on the vnode type. From semarie, many thanks!
2017-02-21Remove SUDO=doas in regress Makefile. The test developer must notAlexander Bluhm
set the SUDO variable. The tester may decide wether he runs doas, sudo or the whole test as root. discussed with tb@ semarie@ benno@
2017-02-21Make test_request_tty() also pass in environments without tty by opening aTheo Buehler
pseudo-tty and testing on the slave instead of stderr. nicm confirms that this approach is fine bluhm tested in his environment and the tests now pass from semarie
2017-02-19re-enable generic pledge testsTheo Buehler
2017-02-19Clean up regress/sys/kern/pledge/generic tests: many tests failed becauseTheo Buehler
wlpaths is disabled in GENERIC kernels: remove or disable failing test cases. Also remove the test_mmap() function testing the prot_exec promise since it would need to be run on a wxallowed partition. from semarie
2017-02-19add test cases for C locale; ok schwarze@Damien Miller
2017-02-18Add a regress test for the chflags problem analogous to the chmod bugTheo Buehler
found by Christopher Wellons (see chmod.c r1.41).
2017-02-17Use typographic quotes rather than '"' for .Rs %T (no change for -TasciiIngo Schwarze
output, of course). Patch from bentley@ in November 2014. This can be committed now because groff merged Anthony's patch yesterday. Simply committing myself because asking Anthony to go search for his two-year-old patch and have him discover that it had accumulated an average of (felt) two or three conflicts per line by now would have been mean, even if hilarious.
2017-02-17Many people have been complaining for a long time that ``...'' looksIngo Schwarze
ugly in -Tascii output. For that reason, bentley@ submitted patches to render "..." instead to groff in November 2014 (yes, more than two years ago). Carsten Kunze yesterday merged them for the upcoming groff-1.22.4 release. Yay! Consequently, do the same in mandoc: Render \(Lq and \(Rq (which are used for .Do, .Dq, .Lb, and .St) as '"' in -Tascii output. All other output modes including -Tutf8 remain unchanged.
2017-02-17more tests for .IP/.nf interaction that i forgot to commitIngo Schwarze
2017-02-17Add tests for chmod's interaction with symlinks: missing tests for -h andTheo Buehler
add tests for the regression introduced in chmod.c r1.33 that transferred the permissions from the link to the target file in some circumstances. There are no tests for chflags since I couldn't come up with testcases without undesirable side-effects like breaking make clean. Four of these tests fail and will be fixed in the upcoming r1.40 to chmod. Prompted by a bug report from Christopher Wellons
2017-02-16Fix type of argv. Found by clang.Patrick Wildt
ok bluhm@
2017-02-16Surprisingly, groff does not support scaling units in .Bl -columnIngo Schwarze
column width specifiers, so stop supporting them, too. As a side effect, this fixes an assertion failure that tb@ found with afl(1), triggered by: .Bl -column -4n
2017-02-16cope with macro value sorting implemented in dba.c rev. 1.6Ingo Schwarze
2017-02-16Fix block scoping error if an explicit block is broken by twoIngo Schwarze
implicit blocks (.Aq Bq Po .Pc) that left the outer breaker open and could in exceptional cases, like between .Bl and .It, cause tree corruption leading to NULL dereference. Found by tb@ with afl(1). While here, do not mark intermediate ENDBODY markers as broken.
2017-02-13Test IPsec with AH the same way it is already done for ESP.Alexander Bluhm
2017-02-12Do not access a NULL pointer if a matrix or square root are empty.Ingo Schwarze
Crashes found by tb@ with afl(1).
2015-01-01eqn(7) testsIngo Schwarze
2017-02-11new regression tests for mdoc_macro.c revs. 1.167-1.172Ingo Schwarze
2017-02-11remove a few Mdocdate that snuck inIngo Schwarze
2017-02-10Create and connect to unix domain sockets on NFS mounted file system.Alexander Bluhm
2017-02-09Add defines that are needed to compile XS code with Perl 5.24.1.Alexander Bluhm
2017-02-08Fix IP address schema to make space for AH tests.Alexander Bluhm
2017-02-08Encrypt UDP and TCP packets in test. Use a sane transport config.Alexander Bluhm
2017-02-06Test combinations of IPsec tunnel and transport mode on severalAlexander Bluhm
machines. For now only ESP encrypted IPv4 and IPv6 ICMP ping packets are generated.
2017-02-07Remove deprecated SSH1 options RSAAuthentication andDarren Tucker
RhostsRSAAuthentication from regression test sshd_config.
2017-02-07Adapt regex in syslogd test to the new shiny libssl error messages.Alexander Bluhm
2017-02-07Remove unused variable in C source to make the test compile and pass.Alexander Bluhm
2017-02-07Include <netinet/in.h> to get in_addr_t and in_port_t compiled.Alexander Bluhm
2017-02-06Ping via IPsec must increment ESP input and output counter by one.Alexander Bluhm