Commit graph

819 commits

Author SHA1 Message Date
Martin Schulze d9a48878c9 Print last 10 log lines on container setup timeout 2019-09-12 00:43:44 +02:00
Martin Schulze 3f9dd4180a Fix setup_file marker logic 2019-09-12 00:42:04 +02:00
Martin Schulze a20f2c4199 Add pregenerated test/config dh params 2019-09-12 00:42:04 +02:00
Erik Wramner ca821fa51a
Merge pull request #1259 from martin-schulze-vireso/bugfix/no_error_printed_on_timeout
Fix missing error output from timeout
2019-09-11 14:04:04 +02:00
Martin Schulze 3513944d0a Skip all tests of file after failed setup_file 2019-09-11 01:01:51 +02:00
Martin Schulze 8e6152ff2f Fix missing error output from timeout
The exits would prevent the printing code from running
2019-09-11 00:02:16 +02:00
Erik Wramner 7580aec15e
Merge pull request #1254 from erik-wramner/containers_remain_after_clean
Generalize clean to remove all matching containers
2019-09-08 08:23:29 +02:00
Erik Wramner 0bd29bdc8e Generalize clean to remove all matching containers 2019-09-07 20:48:00 +02:00
Erik Wramner 9e7348c8f9
Merge pull request #1253 from erik-wramner/dovecot_ssl_protocols
Fix #1251 intermediate TLS level
2019-09-05 21:37:08 +02:00
Erik Wramner 8f23cb7b35 Adjust wait for tests as they often fail 2019-09-05 21:35:23 +02:00
Erik Wramner 0eef718ed2 Fix #1251 intermediate TLS level 2019-09-05 19:39:33 +02:00
Erik Wramner 205dae6c06
Merge pull request #1246 from fbartels/dovecot-repo
Update readme
2019-09-03 10:13:17 +02:00
Felix Bartels 043e184630 Update readme
reorg dockerfile and add comments
2019-09-02 11:16:21 +02:00
Felix Bartels 697baed324
Merge pull request #1245 from erik-wramner/cve-2019-11500
Use Dovecot repo to fix cve-2019-11500 take two
2019-08-31 09:06:59 +02:00
Erik Wramner 3618939f21 Ignore hadolint error about parameter expansion 2019-08-30 13:51:48 +02:00
Erik Wramner b766b5646b Change repo for dovecot to fix CVE-2019-11500 2019-08-30 13:43:11 +02:00
Erik Wramner 9794fbb21b
Merge pull request #1238 from martin-schulze-vireso/feature/modularize_tests2
WIP: Modularize more tests
2019-08-22 08:44:20 +02:00
Martin Schulze 596563ae64 Make failed test output more readable 2019-08-21 21:16:39 +02:00
Erik Wramner fea5adb432
Merge pull request #1236 from erik-wramner/fix_readme_dovecot_attrs
Corrected docs for dovecot attrs #1234
2019-08-21 12:55:21 +02:00
Erik Wramner 0a9bd1c09d Corrected docs for dovecot attrs #1234 2019-08-21 12:53:53 +02:00
Erik Wramner 47a9ad9ec7
Merge pull request #1233 from jamesfryer/master
Improved documentation for SA_KILL
2019-08-21 12:38:48 +02:00
James Fryer f6ad68d5c9 Improved documentation for SA_KILL 2019-08-21 11:25:10 +01:00
James Fryer 29db9a8f2b Improved documentation for SA_KILL 2019-08-20 13:01:51 +01:00
Felix Bartels 0474141859
Merge pull request #1217 from martin-schulze-vireso/feature/modulariz_tests
WIP: Modularize tests
2019-08-19 08:11:31 +02:00
Martin Schulze bfc4f5693e Don't use run in repeat_until_success_or_timeout
it overwrites the return code of its command
2019-08-17 21:23:48 +02:00
Martin Schulze a933ef27ac Fix polling with pipes 2019-08-17 20:58:33 +02:00
Martin Schulze 43ae814776 Extract mail_with_imap into its own test file 2019-08-17 20:58:33 +02:00
Martin Schulze 9019b98394 Extract mail_postscreen into own test file 2019-08-17 20:58:33 +02:00
Martin Schulze 3b728848bb Extract mail_lmtp_ip into own test file 2019-08-17 20:58:33 +02:00
Martin Schulze 82ab286291 Extract mail_undef_spam_subject into own test file 2019-08-17 20:58:33 +02:00
Martin Schulze 5be2fdc3cd Use correct container name 2019-08-17 20:58:33 +02:00
Martin Schulze 9d90df7064 Fix integer check 2019-08-17 20:58:33 +02:00
Martin Schulze 85fa5d242f Fix setup/teardown_file to work in full suite run
The previous mechanism would only run them once for the whole suite
2019-08-17 20:58:33 +02:00
Martin Schulze d8956d3b29 Extract mail_with_postgrey into own test files 2019-08-17 20:58:33 +02:00
Martin Schulze fcddf578d2 Extract mail with relay tests into own file 2019-08-17 20:58:33 +02:00
Martin Schulze db160bd977 Extract default relay host test
centralize common test variables and functions
2019-08-17 20:58:33 +02:00
Erik Wramner 6a7608fe7b
Merge pull request #1231 from erik-wramner/auth_assert_output
Use assert_output for better diagnostics of failures
2019-08-16 12:30:30 +02:00
Erik Wramner bf773cc8b7 Use assert_output for better diagnostics of failures 2019-08-16 12:02:23 +02:00
Felix Bartels 1ba0991d80
Fix linting errors reported by hadolint (#1211)
* Fix linting errors reported by hadolint
* use full path for folders when listing contents
* add linting task to makefile
2019-08-13 11:41:38 +02:00
Erik Wramner fbba6beaf6
Merge pull request #1226 from erik-wramner/fix_dovecot_respawning
Fixed bug when dh.pem/dhparam.pem exists with ONE_DIR. The tests passed in my fork, so I'll merge this at once to get it out before more people run into problems.
2019-08-13 07:49:29 +02:00
Erik Wramner 615a845d6c Fixed bug when dh.pem/dhparam.pem exists with ONE_DIR 2019-08-13 07:26:31 +02:00
Erik Wramner 5ebb8614a2
Merge pull request #1220 from erik-wramner/dhparam_on_start
Generate dhparam and dovecot cert on start
2019-08-12 22:00:31 +02:00
Felix Bartels a7408b73e0 Do not remove dh*.pem as they do not exist at this point in time
Signed-off-by: Felix Bartels <felix@host-consultants.de>
2019-08-12 19:31:24 +02:00
Erik Wramner b867532bf7
Merge pull request #1223 from erik-wramner/no_smtputf8
Disable SMTPUTF8 as Dovecot can't handle it
2019-08-11 21:36:31 +02:00
Erik Wramner f5dac6e71c Disable SMTPUTF8 as Dovecot can't handle it 2019-08-11 17:14:00 +02:00
Erik Wramner a0ee229f00
Merge pull request #1222 from erik-wramner/no_sa_cron_when_sa_disabled
Remove spamassassin cron job when spamassassin is off
2019-08-11 10:18:07 +02:00
Erik Wramner d6838e8274 Remove spamassassin cron job when spamassassin is off 2019-08-11 09:52:50 +02:00
Erik Wramner 9d7873850d Move dovecot cert generation to startup 2019-08-10 10:15:35 +02:00
Erik Wramner c9bd3f3e83 Added sleep to test that keeps failing randomly 2019-08-10 08:34:18 +02:00
Erik Wramner fc8d684994 Generate dhparams at startup, not build 2019-08-09 22:13:50 +02:00