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 -------------"