summaryrefslogtreecommitdiff
path: root/test
AgeCommit message (Collapse)Author
2012-05-17CRL addition returns count of CRLs addedPhil Pennock
A couple more cert1/2 strings updated, plus some disambiguating rhubarb.
2012-05-17fix tls_cipher memory lifetime.Phil Pennock
Some tests had not been updated for the new cert because they were missing an X= log-line. Updated those tests now.
2012-05-17More GnuTLS cleanups/fixes.Phil Pennock
Decided "unknown (reason)" in tls_peerdn was wrong, stripped that, added replacement guard. Moved cipherbuf construction to where it makes more sense, where peerdn is extracted, so that setting the exim vars gets back closer to just some pointer switching. Fix missing failure check after handshake in client. Fix tls.c tls_ungetc() and friends by pointing watermark vars at state content. Regenerated test-suite D-H params so we don't have too small values, which was causing connection rejections. Test-suite output where new test cert info is logged (there will be a couple more, when I fix a lingering problem with tls_peerdn being unset in client log-lines). Give test-suite client command some --help.
2012-05-174.78 -> 4.80Phil Pennock
2012-05-17Handle absent tls_require_ciphers correctly.Phil Pennock
Fix test-suite certs to not use MD5. Document that we do not support MD5 certs any longer. Make test-suite generate probably-correct gnutls-params filename for us.
2012-05-17Handle TLSv1.2 in test suite.Phil Pennock
Normalise TLSv1.2 to TLSv1. Normalise AES256-GCM-SHA384 to AES256-SHA. Make some test configs accept AES256-GCM-SHA384 in "encrypted =" ACLs. Have test suite print final test id during abort, make it easier to track down.
2012-05-16Overhaul of GnuTLS code.Phil Pennock
GnuTLS code re-done, using cut&paste for preservation where appropriate. Stop using deprecated APIs. Stop hard-coding lists of ciphers. Use gnutls_priority_init() instead. Turns tls_require_ciphers into a string in the GnuTLS case, not just OpenSSL case. Deprecate three gnutls_require_* options; now ignored but not errors. (No warnings yet). Added TLS SNI support. Made the channel binding integration theoretically actually work. I had it guarded by an #ifdef but the value used was an enum instead. Oops. Fixed. New code much more amenable to future work permitting TLS in callouts. DH param sizes now chosen by GnuTLS maintainers, we use "normal"; that's suddenly a lot more bits, so the saved filename was changed too. (GNUTLS_SEC_PARAM_NORMAL). DH param setup only done for servers now, since clients don't need/use it. GnuTLS a lot more robust to library negotiation using stuff we don't support, error-ing out quickly for other authentication systems (PGP, etc). Renamed pseudo_random_number() to vaguely_random_number() which makes the nature clearer. GnuTLS now provides a vaguely_random_number() implementation, to match OpenSSL. Pull in <inttypes.h> to make the recent arithmetic changes compile on MacOS. Nuke test 2011 which related to the gnutls_require_* options now non-functional.
2012-05-15Testsuite: fix problem with parsing retry records spanning midnight.Jeremy Harris
2012-05-13Merge branch '64bitint'Jeremy Harris
2012-05-13typo fixPhil Pennock
2012-05-13Make integer values 64bit (bug 1171).Jeremy Harris
2012-05-13Testsuite: ensure socket from wait-mode daemon test is not held open.Jeremy Harris
2012-05-13Fixed headers_only on smtp transports.Phil Pennock
Was not sending trailing dot. Added test case to catch this. fixes bug 1246.
2012-05-11Testing for -bw modePhil Pennock
2012-05-10Testsuite: updates for 8bitmime-as-default (Dovecot; untested).Jeremy Harris
2012-05-10Testsuite: updates for 8bitmime-as-default (GnuTLS).Jeremy Harris
Also add Retry command to more runtest testcase-fail possibilities.
2012-05-07Testsuite: updates for 8bitmime-as-default.Jeremy Harris
2012-05-07Default accept_8bitmime to true.Phil Pennock
Some discussion at http://bugs.exim.org/show_bug.cgi?id=817 Refer readers to Dan Bernstein's analysis of the issues. Consensus seen from maintainers is that DJB is right on this point.
2012-05-06Testsuite: teach the fakedns zonefile generator about the ipv6 double-colon ↵Jeremy Harris
rule. Fixes case 1003 for me (having a trailing ::).
2012-05-05Fix bug 1225: Accept new testsuite case output.Jeremy Harris
Having looked further at the ratelimit code, the new output looks reasonable. The obscure values of "19" derive from testing "per-byte", being the size of the test message.
2012-05-01Update testsuite output files for GnuTLS version update and fixes.Jeremy Harris
2012-05-01Code refactoring in acl.c (bug 1184)Jeremy Harris
Move to a table-driven approach for the parsing of "verify =".
2012-04-26Fix testsuite case 0373.Jeremy Harris
The subtest does a readsocket (with 1s timeout) into a server which closes immediately. The expected output in the testcase was null, the output actually seen was the error-return expansion, which seems more correct. Accepting the actual output.
2012-04-25New testcase output from SSL library.Jeremy Harris
2012-04-25Add ACL name to debug output of condition result (bug 1238).Jeremy Harris
2012-04-23Update testsuite case enabled by fix for bug 1227, with changes require by ↵Jeremy Harris
bug 1224.
2012-04-22Better ls output fixing.Phil Pennock
fixes bug 1226 Further investigation from Jeremy Harris showed the previous fix left trailing whitespace on output which previously ended after the permission bits (eg, test 0240). This works better for me.
2012-04-22Bug 1224: fixup testsuite case output from testdb.Jeremy Harris
2012-04-22Add testsuite case retry (without update) option on failed file compare.Jeremy Harris
2012-04-22Accept change in testcase munged output for -btJeremy Harris
Trailing spaces were trimmed by commit 37acd760db
2012-04-19Bug 1224 followon - avoid breaking other testcases.Jeremy Harris
Add specific patterns to avoid when munging the output. This is fragile and may still be broken outside my specific test environment.
2012-04-19Fix bug 1224.Jeremy Harris
Replace the lookup index char in sterr traces with a zero; update testcase expected stderr files to match.
2012-04-18Fix bug 1229.Jeremy Harris
Update testcase output with now-expected info.
2012-04-17Testcase changes to match changes introduced by bug 1214.root
Additional "A=" authenticator info was added to log lines for rejections.
2012-04-02Fix IPv6 REroot
2012-03-30Handle alternate access method flag in ls.Phil Pennock
Jeremy Harris found ls output not parsing on SELinux systems. I identified this as SUSv3's "optional alternate access method flag". Jeremy wrote the patch, I adjusted a little. fixes bug 1226
2012-03-30set umaskPhil Pennock
fixes bug 1228
2012-03-30handle more of the new format version numbersPhil Pennock
2011-10-09Testsuite: also handle -XX in versionPhil Pennock
2011-10-09More testsuite fixesPhil Pennock
2011-10-09Make runtest more resilient to setup problemsPhil Pennock
2011-06-29Remove obsolete $Cambridge$ CVS revision strings.Tony Finch
I have also de-CVSed the ABOUT files and cleaned up a few introductory comments.
2011-05-09Testsuite: Compiler info skip; whitespace stupidity.exim-4_76Phil Pennock
2011-05-07Typo fixes from Andreas Metzler.Phil Pennock
fixes bug 1111
2011-04-26Cond !bool{}/!bool_lax{} did not negate. Fixed.Phil Pennock
Fixes bug: 1104
2011-03-22no_freeze_signal in output.exim-4_75Phil Pennock
Pipe transport option added in: 2fe767453007d1b015f52313d16dc61635085621
2011-03-22Fix RFC2047 encoding tests after robustness patch.Phil Pennock
Output changed by: Commit 86ae49a65fce504ebcf9c30ddff213cca71fb872 Fix wide character breakage in the rfc2047 coding Fixes bug 1064 Patch frome Andrey N. Oktyabrski
2011-01-30Testing: Exim must not use HEADERS_CHARSET UTF-8.Phil Pennock
Failed at test 178.
2011-01-30sudo !tty_tickets; correct config file list.Phil Pennock
sudo needs to permit sudo w/o a TTY. The config file used is the same for each test, the individual config files are made available under a particular name. Correct that advice.
2011-01-30Test suite mostly clean for 4.73/4.74.Phil Pennock
With this, I can run the test suite with few enough differences that I can review and confirm, getting as far as Basic/0094. Pretty much just dealing with new stderr from debugging.