diff --git a/test/common.sh b/test/common.sh index 4414dcf..7bf3ccb 100644 --- a/test/common.sh +++ b/test/common.sh @@ -59,6 +59,11 @@ log_message() { echo -e "${GREEN}[$LEVEL]${NC} $MESSAGE" echo ;; + "SERVICE") + echo "" + echo -e "${CYAN}[$LEVEL]${NC} $MESSAGE" + echo + ;; *) echo "[$LEVEL] $MESSAGE" ;; @@ -161,7 +166,7 @@ is_package_installed() { service() { systemctl $1 $2 || handle_error "test" - log_message "SUCCESS" "Action : $1 for service : $2 successfully" + log_message "SERVICE" "Action : $1 for service : $2 successfully" } # Fonction pour la gestion des erreurs diff --git a/test/custom/custom_key b/test/custom/custom_key index e69de29..1f0a135 100644 --- a/test/custom/custom_key +++ b/test/custom/custom_key @@ -0,0 +1,2 @@ +# +ssh-rsa AAAAB3NzaC1yc2EAAAADAQA \ No newline at end of file