mirror of
https://github.com/docker-mailserver/docker-mailserver.git
synced 2024-01-19 02:48:50 +00:00
adjust test to use new script output from openDKIM
This commit is contained in:
parent
27f6ad73cf
commit
f3f38db0f9
|
@ -6,7 +6,7 @@ DOMAINS=
|
|||
|
||||
function __usage
|
||||
{
|
||||
echo -e "\e[35mOPEN-DKIM\e[31m(\e[93m8\e[31m)
|
||||
printf "\e[35mOPEN-DKIM\e[31m(\e[93m8\e[31m)
|
||||
|
||||
\e[38;5;214mNAME\e[39m
|
||||
open-dkim - configure DomainKeys Identified Mail (DKIM)
|
||||
|
@ -44,6 +44,7 @@ function __usage
|
|||
\e[38;5;214mEXIT STATUS\e[39m
|
||||
Exit status is 0 if command was successful. If wrong arguments are provided or arguments contain
|
||||
errors, the script will exit early with exit status 2.
|
||||
|
||||
"
|
||||
}
|
||||
|
||||
|
|
|
@ -1127,10 +1127,10 @@ EOF
|
|||
assert_failure
|
||||
}
|
||||
|
||||
@test "checking setup.sh: setup.sh dkim help" {
|
||||
run ./setup.sh -c mail dkim help
|
||||
@test "checking setup.sh: setup.sh config dkim help" {
|
||||
run ./setup.sh -c mail config dkim help
|
||||
assert_success
|
||||
assert_line --index 1 "Generate DKIM Configuration"
|
||||
assert_line --index 2 " open-dkim - configure DomainKeys Identified Mail (DKIM)"
|
||||
}
|
||||
|
||||
# debug
|
||||
|
|
Loading…
Reference in a new issue