From d9fb7fc2e379bcbcc963a67a4e8a0c3cd2f20e6d Mon Sep 17 00:00:00 2001 From: Loic Guegan Date: Wed, 31 Aug 2022 20:17:57 +0200 Subject: [PATCH] Update run.sh --- tests/run.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/run.sh b/tests/run.sh index c96e3e3..9fa7aa0 100755 --- a/tests/run.sh +++ b/tests/run.sh @@ -21,7 +21,7 @@ do # Ensure timeout if [ $? -eq 124 ] then - echo -e "${RED}${BOLD}failed${NC}" + printf "${RED}${BOLD}failed${NC}\n" echo "------------- Test timeout (should not exceed ${test_timeout}s) -------------" cat "$out"; rm "$out" @@ -31,9 +31,9 @@ do # Ensure test output if [ "$(base64 $out)" = "$(base64 ./out)" ] then - echo -e "${GREEN}${BOLD}passed${NC}" + printf "${GREEN}${BOLD}passed${NC}\n" else - echo -e "${RED}${BOLD}failed${NC}" + printf "${RED}${BOLD}failed${NC}\n" echo "------------- Expected -------------" cat out echo "------------- Got -------------"