1
0
mirror of https://github.com/tomav/docker-mailserver.git synced 2024-07-01 05:31:36 +02:00
docker-mailserver/docs/content
Brennan Kinney 306592fcad tests: Adjusted files not directly related to tests
`tls.bash` helper was adapted to the new helper scripts location. The `setup.bash` helper saw a bugfix (expanding the array properly) and updates the container default config to configure for IPv4 explicitly.

The IPv4 default was added after recent Docker pushes and I saw weird IPv6 related errors in the logs.. now we're sure IPv4 is the default during tests.

Added functionality to check if a process is running:
- This change adds a helper function to check whether a program is running inside a container or not.
- This added the need for a function like `_run_in_container` but allowing for providing an explicit container name.
- Future PRs can use this helper function now to check whether a process is running or not. This was done for the tests of Fail2Ban, but can be used for other tests in the future as well.

---

chore: Restructured BATS flags in `Makefile`

The `Makefile` has seen a bit of a restructuring when it comes to flags:

1. The `MAKEFLAGS` variables is used by `make`, and allows for adding additional flags that can be used within in recursive calls (via `$(MAKE)`) too,  thus DRY approach.
2. The flags for calling BATS were adjusted. `--no-parallelize-within-files` has been added as well to ensure tests  _inside_ a single file are run sequentially.

`dms-test` prefix matching changed to expect a `_` suffix as a delimiter.

---

docs: Add a note regarding output from running tests in parallel
2023-01-06 16:50:09 +13:00
..
assets docs(deps): bump mkdocs-material to 7.3.2 (#2244) 2021-10-17 23:50:02 +13:00
config feature: provide initial Rspamd support (#2902) 2023-01-05 08:39:00 +01:00
contributing tests: Adjusted files not directly related to tests 2023-01-06 16:50:09 +13:00
examples docs: add note about Docker version when building (#2799) 2022-09-28 09:25:07 +02:00
faq.md docs: Improve cron tasks and fix link in documentation (#2708) 2022-08-02 23:38:22 +12:00
index.md docs(chore): Normalize for consistency (#2206) 2021-09-23 11:29:37 +12:00
introduction.md docs(chore): Normalize for consistency (#2206) 2021-09-23 11:29:37 +12:00