Martin Schulze
5030e8278c
Add tests for test/common.bash
2020-10-18 03:11:10 +02:00
Martin Schulze
7fb13c18cd
Reinstane required (empty) folder
...
this is needed to make test
"checking accounts: user3 should have been added to /tmp/docker-mailserver/postfix-accounts.cf even when that file does not exist"
pass
2020-10-18 02:25:03 +02:00
Martin Schulze
88fbe0dbd3
Fix shellcheck errors on tests.bats
2020-10-18 02:24:26 +02:00
Martin Schulze
e2bca5f850
Always use ${}
2020-10-18 02:08:11 +02:00
Martin Schulze
f47f85598d
Fix trailing slash in path
2020-10-17 23:24:39 +02:00
Martin Schulze
13963747b8
Fix missing newline at the end of file
2020-10-17 23:24:23 +02:00
Casper
90778de19d
Quotes removed to have a uniform style
2020-10-17 22:17:59 +02:00
Martin Schulze
b7388d3b46
Remove obsolete make target
2020-10-17 02:04:33 +02:00
Martin Schulze
80bfc422a2
Reduce code duplication
2020-10-17 02:04:33 +02:00
Martin Schulze
7530aea9f5
Don't use an extra moint for subdir
2020-10-17 02:04:33 +02:00
Martin Schulze
96b3fd726a
Fix wait_for_service not working/hanging
2020-10-17 02:04:33 +02:00
Martin Schulze
c6c6fb708c
Avoid running tests while the services restart due to changes
2020-10-17 02:04:33 +02:00
Martin Schulze
c46edee8f9
Mark the end of restarts due to changes by moving the checksum file
2020-10-17 02:04:30 +02:00
Martin Schulze
05deaa3196
Move common functions into common.bash
2020-10-17 02:03:11 +02:00
Martin Schulze
53b930448d
Fix shellcheck issues
2020-10-17 02:03:11 +02:00
Martin Schulze
0d4eb08de8
Add missing accounts
2020-10-17 02:03:11 +02:00
Martin Schulze
e1d0fcfe01
Improve output in failure cases
2020-10-17 02:03:11 +02:00
Martin Schulze
a90e043e45
Fix failing tests due to old paths
2020-10-17 02:03:11 +02:00
Martin Schulze
854cb2ba51
Remove duplicate_configs on cleanup
2020-10-17 02:03:11 +02:00
Martin Schulze
ca3ebc6c40
Improve error messages on problems
2020-10-17 02:03:11 +02:00
Martin Schulze
969b50fb32
travis: Fix test command
2020-10-17 02:03:11 +02:00
Martin Schulze
d76493c761
Add TODOs
2020-10-17 02:03:11 +02:00
Martin Schulze
40dd3ae985
Implement and use run_until_success_or_timeout
2020-10-17 02:03:11 +02:00
Martin Schulze
a477040abb
Allow for seamless switching between old and new bats versions
2020-10-17 02:03:11 +02:00
Martin Schulze
ef80c6b2a3
Add setup/teardown marker tests
2020-10-17 02:03:11 +02:00
Martin Schulze
b90faaeb35
Ignore generated files
2020-10-17 02:03:09 +02:00
Martin Schulze
0eb5bd0db9
Add --fatal-tests for early out in container waits
2020-10-17 02:02:46 +02:00
Martin Schulze
97806859b6
Fix private_config_path creating the wrong folder
2020-10-17 02:02:46 +02:00
Martin Schulze
5fef8a5b78
Give each container their own private config folder
2020-10-17 02:02:46 +02:00
Martin Schulze
e5d04aa30d
Remove references to unused targets
2020-10-17 02:02:46 +02:00
Martin Schulze
190f4961c0
Move mail container creation into tests file
2020-10-17 02:02:46 +02:00
Martin Schulze
9c285db520
Extract mail_override_hostname into own test file
2020-10-17 02:02:46 +02:00
Martin Schulze
06b137e5a8
Extract container mail_smtponly_without_config into test
2020-10-17 02:02:46 +02:00
Martin Schulze
ad0be553d8
Extract SRS DOMAINNAME tests/container into own file
2020-10-17 02:02:46 +02:00
Martin Schulze
d38ff4c122
Extrract disabled clamav tests into own file
2020-10-17 02:02:46 +02:00
Georg Lauterbach
94c2a68bd5
Updated submodule target/docker-configomat
2020-10-11 19:41:53 +02:00
Luke Cyca
854c1b5223
Created IPv6 (markdown)
2020-10-08 15:45:58 -07:00
Luke Cyca
ad240b00e9
Updated Full text search (markdown)
2020-10-08 15:38:12 -07:00
Luke Cyca
3db4b75d6e
Updated Full text search (markdown)
2020-10-08 15:37:26 -07:00
Luke Cyca
b986c4375b
Created Full-text search (markdown)
2020-10-08 15:36:39 -07:00
pyy
673d7307b6
add account without restart container
2020-10-06 19:30:33 +02:00
Erik Wramner
c7135c29ae
Merge pull request #1632 from artonge/patch-1
...
Remove write access to group and others to Amavis configuration files
2020-10-06 17:16:31 +02:00
Georg Lauterbach
916ef571b9
Miscellaneous cleanup / housekeeping ( #1641 )
2020-10-06 14:45:55 +02:00
Louis
e693596b95
Make final permissions on amavis config files more predictable
2020-10-05 17:11:15 +02:00
Georg Lauterbach
ed6e3ebd30
Outsourced linting tests into its own file ( #1636 )
...
* outsourced linting tests into its own file
* trigger rebuild
* added SCRIPT variable to setup.sh
* trigger rebuild again
* major test rewrite
* outsourced `hadolint` too
* rewrote some parts of the linting logic due to a logic bug
* adjusted TravisCI
* corrected .bats test line
* corrected logging in linting tests
* updated `hadolint`
2020-10-04 19:34:15 +02:00
Georg Lauterbach
4c76565380
merge pull request #1638 from casperklein/patch-3
...
updated comments
2020-10-04 18:46:00 +02:00
Casper
76fb799023
Update user-patches.sh.dist
2020-10-04 18:00:18 +02:00
Casper
a851da4793
Comments updated
...
https://github.com/tomav/docker-mailserver/issues/1608
2020-10-04 13:49:23 +02:00
engelant
e633eca38e
Updated FAQ and Tips (markdown)
2020-10-04 13:45:29 +02:00
engelant
16df7b8b8b
Updated FAQ and Tips (markdown)
2020-10-04 13:44:21 +02:00