diff --git a/target/bin/open-dkim b/target/bin/open-dkim index 699199f5..d8b05975 100755 --- a/target/bin/open-dkim +++ b/target/bin/open-dkim @@ -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. + " } diff --git a/test/tests.bats b/test/tests.bats index f42bef05..be8d388f 100644 --- a/test/tests.bats +++ b/test/tests.bats @@ -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