From ed57a57fe2092d8a71e996cce95fc52664da192f Mon Sep 17 00:00:00 2001 From: hcornet Date: Thu, 24 Apr 2025 19:16:57 +0200 Subject: [PATCH] update : --- test/common.sh | 7 ++++++- test/custom/custom_key | 2 ++ 2 files changed, 8 insertions(+), 1 deletion(-) 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