fix: don't use echo -e in POSIX shell

The `-e` flag is not defined for `echo` in POSIX shell. Use `printf`
instead.

Part of #12636
This commit is contained in:
Daniel Rainer
2026-04-15 02:23:53 +02:00
committed by Johannes Altmanninger
parent 4b60d18b44
commit 12cfe59578

View File

@@ -130,13 +130,16 @@ system_tests() (
)
if $is_cygwin; then
echo -e "=== Running ${green}integration tests ${yellow}with${green} symlinks${reset}"
# shellcheck disable=2059
printf "=== Running ${green}integration tests ${yellow}with${green} symlinks${reset}\n"
system_tests $cygwin_var=winsymlinks
echo -e "=== Running ${green}integration tests ${yellow}without${green} symlinks${reset}"
# shellcheck disable=2059
printf "=== Running ${green}integration tests ${yellow}without${green} symlinks${reset}\n"
system_tests $cygwin_var=winsymlinks
else
echo -e "=== Running ${green}integration tests${reset}"
# shellcheck disable=2059
printf "=== Running ${green}integration tests${reset}\n"
system_tests
fi