Martin Schulze
81fd83525c
Tests: extract mail_smtponly into own .bats file
2019-10-08 22:15:27 +02:00
Martin Schulze
56f47db0f2
Tests: Extract mail_fail2ban into own .bats file
2019-10-08 22:03:56 +02:00
Martin Schulze
d05255cb04
Tests: Extract mail_fetchmail into own .bats file
2019-10-08 21:45:05 +02:00
Martin Schulze
a03c741e1b
Extract mail_manual_ssl into own .bats file
2019-10-08 21:36:13 +02:00
Martin Schulze
d3e2dfe3ba
Move mail_with_ldap into its own .bats file
2019-10-08 21:31:56 +02:00
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
8f23cb7b35
Adjust wait for tests as they often fail
2019-09-05 21:35:23 +02:00
Martin Schulze
596563ae64
Make failed test output more readable
2019-08-21 21:16:39 +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
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
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
f5dac6e71c
Disable SMTPUTF8 as Dovecot can't handle it
2019-08-11 17:14:00 +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
Martin Schulze
41dfe43c71
Remove code duplication
2019-08-07 22:03:17 +02:00
Martin Schulze
d712a29baf
Check for PERMIT_DOCKER correct postfix settings
2019-08-07 21:45:52 +02:00
Martin Schulze
fcce47a392
WIP: actually test PERMIT_DOCKER=connected-networks
...
also showcase timeouts and makefile integration
2019-08-07 02:24:56 +02:00
Felix Bartels
83b4cda0bf
update bats to latest version
2019-08-05 21:40:09 +02:00
Erik Wramner
41921f82aa
Merge pull request #1205 from j-marz/opendkim_nameserver
...
set Nameservers in opendkim.conf at start-up
2019-08-04 18:54:08 +02:00
j-marz
2f0e516d42
added test to check for nameservers in opendkim.conf
2019-08-04 20:29:39 +10:00
Martin Schulze
9c1a5d76af
Fix tests for PERMIT_DOCKER=connected-networks
2019-08-03 20:49:10 +02:00
Martin Schulze
234632913e
Add PERMIT_DOCKER=connected-networks
2019-08-02 15:05:00 +02:00
Erik Wramner
d6861881ab
Parse logs to ensure changes are processed
2019-08-01 15:24:47 +02:00
Erik Wramner
21c89b3364
Added TODO as per code review and removed one sleep
2019-07-31 12:59:49 +02:00
Erik Wramner
b23a7ddc1c
Added newline as suggested in code review
2019-07-31 10:43:12 +02:00
Erik Wramner
311bdfa1ba
Keep checksum file outside shared/mounted area
2019-07-30 16:10:51 +02:00
Erik Wramner
f849b46462
Moved test files and mounted read-only
2019-07-30 16:10:51 +02:00
Erik Wramner
e47c73f789
Wait and retry if pre-defined user login fails
2019-07-30 16:10:51 +02:00
Erik Wramner
1f298e3a76
Wait and retry if added user fails to login in tests
2019-07-30 16:10:51 +02:00
Erik Wramner
7299be1284
Split tests to find out why they fail
2019-07-30 16:10:51 +02:00
jjtt
a3724fa91d
Support for setting relayhost in main.cf ( #1104 )
...
* Added DEFAULT_RELAY_HOST setting
* If set this value will be used as the relayhost in /etc/postfix/maincf causing all mail to be delivered using this relay host
* Test for default relay host setting
2019-01-19 11:10:31 +01:00
Daniel Panteleit
cc56b4f89e
Calling supervisord directly instead of via shell ( Closes : #1047 , #1074 )
2018-11-04 20:23:50 +01:00