Skip to content

Commit c7460c2

Browse files
github-actions[bot]giannistbs
authored andcommitted
[v3-0-test] fix: add COLOR_GREEN and correct providers tests success message color\n\nAdds missing COLOR_GREEN variable and fixes typo in providers tests success message to use the correct color. Prevents unbound variable error with bash -u. (#51399) (#51458)
(cherry picked from commit f04a282) Co-authored-by: Giannis Tampakis <[email protected]>
1 parent 6879c3e commit c7460c2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

scripts/ci/testing/run_unit_tests.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ export COLOR_RED=$'\e[31m'
2020
export COLOR_BLUE=$'\e[34m'
2121
export COLOR_YELLOW=$'\e[33m'
2222
export COLOR_RESET=$'\e[0m'
23+
export COLOR_GREEN=$'\e[32m'
2324

2425
if [[ ! "$#" -eq 2 ]]; then
2526
echo "${COLOR_RED}You must provide 2 arguments: Group, Scope!.${COLOR_RESET}"
@@ -107,7 +108,7 @@ function providers_tests() {
107108
echo
108109
exit "${RESULT}"
109110
fi
110-
echo "${COLOR_GREEB}Providers tests completed successfully${COLOR_RESET}"
111+
echo "${COLOR_GREEN}Providers tests completed successfully${COLOR_RESET}"
111112
}
112113

113114

0 commit comments

Comments
 (0)