summaryrefslogtreecommitdiff
path: root/regress
AgeCommit message (Collapse)Author
2015-06-26change test-patterns.out in order to reflect the error message change insemarie
patterns.c
2015-06-25Align the three variants of Remote.pm.Alexander Bluhm
2015-06-23Add regress test for multiple negation characters.Todd C. Miller
2015-06-23Fix the optional lua patterns test with obj and different versions.Reyk Floeter
2015-06-23add httpd regresssemarie
2015-06-23add regress tests for httpdsemarie
- this testsuite covers patterns
2015-06-23Change CBS_dup() to also sync the offset.Doug Hogan
Previously, CBS_dup() had its own offset. However, it is more consistent to copy everything. ok miod@ jsing@
2015-06-23Convert bytestringtest to individual checks and don't short circuit.Doug Hogan
The statements were chained together with OR which makes it more annoying to debug. Also, it was short circuiting all tests as soon as one function failed. Since the functions are independent, they should each run until error. Discussed with miod@ and jsing@
2015-06-23Remove unnecessary regress target.Doug Hogan
2015-06-20Remove obsolete MDC-2DES from libcrypto.Doug Hogan
ok deraadt@ jsing@ miod@
2015-06-17Add tests for CBS_offset() and CBS_write_bytes().Doug Hogan
"no problem" miod@, tweak + ok jsing@
2015-06-16Be more strict about BER and DER terminology.Doug Hogan
bs_ber.c does not convert BER to DER. It's a hack to convert a DER-like encoding with one violation (indefinite form) to strict DER. Rename the functions to reflect this. ok miod@ jsing@
2015-06-15Rework how fstat and ktrace pattern are specified in the testAlexander Bluhm
arguments. Add tests to check wether syslogd privsep works. This is done for debug and foreground and daemon mode. Fstat is checked for chroot and sockets. Ktrace dump is grepped for setting uid and gid.
2015-06-15hook up chmodFlorian Obser
2015-06-15oopsFlorian Obser
2015-06-15First stab at regression test for chmod (and chflags, chgrp and chownFlorian Obser
which are the same binary). This is supposed to exercise all syscalls paths through those tools and not a comprehensive regression test.
2015-06-15turn SSH1 back on to match src/usr.bin/ssh being testedDamien Miller
2015-06-15fix regress fallout due to CFLAGS vs CXXFLAGSTheo de Raadt
2005-09-13dlopen regress tests.Dale Rahn
2015-05-31Implement the roff(7) `r' (register exists) conditional.Ingo Schwarze
Missing feature found by Markus <Waldeck at gmx dot de> in Debian's bash(1) manual page.
2015-05-29Update file(1) regress (less verbose ELF output).Nicholas Marriott
2015-05-29Need to operate of CXXFLAGS now.Miod Vallat
2015-05-29make this work without SUDO set; ok dtucker@Damien Miller
2015-05-22Add tests for relayd TLS inspection with plain SSL and HTTPS.Alexander Bluhm
2015-05-21regress test for AuthorizedPrincipalsCommandDamien Miller
2015-05-21regress test for AuthorizedKeysCommand argumentsDamien Miller
2015-05-19Test divert-to rules' address handling (pfctl/parse.y -r1.648)Mike Belopuhov
2015-05-17Add test cases for a crash reported by Bertrand PROVOST. When aAlexander Bluhm
HTTP client writes multiple requests or chunks in a single transfer, relayd invokes the libevent callback manually for the next data. If the callback closes the session, this results in an use after free. Test an invalid second request method, test an invalid header line in the second PUT request, test an invalid second chunked length for a PUT request. Also test multiple valid HTTP 1.1 PUT requests with chunked body. To detect crashes of relayd, start it with "prefork 1" and grep for "lost child" log messages. Unfortunately only the first child is monitored by the parent.
2015-05-12Race less.Todd C. Miller
2015-05-10A new version from the original author of math.sed that does exponentsTodd C. Miller
and lots of other neat things. Via FreeBSD
2015-05-08Make this run on strict alignment architectures.Miod Vallat
2015-05-08whitespaceDamien Miller
2015-05-08whitespace at EOLDamien Miller
2015-05-05Updated fifotest.outTodd C. Miller
2015-05-05fifofs now respects the flags a descriptor was opened with.Todd C. Miller
Also add tests for when no FD events are specified. A few tests still don't pass which will be addressed shortly.
2015-05-04Specify regression test host keys so that this test will work withoutDarren Tucker
SUDO (because it can't read the real host keys) and in -portable on systems where sshd hasn't been installed yet (because the keys don't exist yet).
2015-05-04Use diff w/out -u for better portabilityDarren Tucker
2015-04-29Replace the kludge for the \z escape sequence by an actualIngo Schwarze
implementation. As a side effect, minus ten lines of code. As another side effect, this also fixes the assertion failure that used to be triggered by "\z\o'ab'c" at the beginning of an output line, found by jsg@ with afl (test case 022/Apr27).
2015-04-29Make some regular expressions more strict. This allows the testsAlexander Bluhm
to pass also if relayd is compiled with DEBUG.
2015-04-29Add tests for ListenAddress/Port/AddressFamily in alternate orders.Darren Tucker
2015-04-27Let the HTTP client close the connection within an incomplete headerAlexander Bluhm
line. Check that the session in relayd gets closes and it does not result in a file descriptor leak. Bug in relayd found by claudio@.
2015-04-25Disable kq-tun test, as it's been broken for a while and not because of kqPhilip Guenther
2015-04-25Check for invalid leading zeros in CBS_get_asn1_uint64.Doug Hogan
ASN.1 integers cannot have all zeros or all ones for the first 9 bits. This rule ensures the numbers are encoded with the smallest number of content octets (see ITU-T Rec X.690 section 8.3.2). Based on BoringSSL commit 5933723b7b592e9914f703d630b596e140c93e16 ok deraadt@ jsing@
2015-04-23Add a simple regression test for sshd's configuration parser. Right now,Darren Tucker
all it does is run the output of sshd -T back through itself and ensure the output is valid and invariant.
2015-04-22use correct key for nested certificate testDamien Miller
2015-04-19More than one data field may follow T} on the same input line.Ingo Schwarze
Issue found by Christian Neukirchen <chneukirchen at gmail dot com> in the socket(2) manual on Linux. Also fixes major rendering bugs (including partial loss of content) in XkbChangeControls(3), XkbFreeClientMap(3), XkbGetMap(3), XkbKeyNumGroups(3), and XkbSetMap(3).
2015-04-19If an explicit line break request (.br or .sp) occurs within an .HP block,Ingo Schwarze
the next line doesn't hang, but is simply indented. Issue found by Christian Neukirchen <chneukirchen at gmail dot com> in the dmsetup(8) manual on Linux. This patch also improves the indentation of XDGA(3) and XrmGetResource(3).
2015-04-17Remove superflous "::1" route, test currently failing but a fix isMartin Pieuchot
in its way.
2015-04-17Local routes should be present in the routing table output.Martin Pieuchot
2015-04-17Match -current output. Every configured address should have a local routeMartin Pieuchot
and remove redundant loopback cloning route. Note that tests using IPv6 still contain two routes to "::1" this should cause no harm but is being investigated.