Add end-to-end Test

- Add an infrastructur to run local e2e tests.
- Add some tests.
This commit is contained in:
Malte Meiboom
2026-01-23 13:56:05 +01:00
parent 30b1d29274
commit 5fda3924db
9 changed files with 119 additions and 24 deletions
+2 -2
View File
@@ -7,8 +7,8 @@ echo "127.0.0.1 " $(hostname) > /etc/hosts
echo "127.0.0.2 example.com" >> /etc/hosts
## build milter
if [ -f /opt/husk/mapped/husk ] ; then
HUSK_BIN=/opt/husk/mapped/husk
if [ -f /opt/husk/mapped/Cargo.toml ] ; then
HUSK_BIN=/opt/husk/mapped/target/release/husk
else
cd /opt/husk
git clone https://gitlab.com/husk-project/husk-milter.git