diff options
| author | Loic Guegan <manzerbredes@mailbox.org> | 2022-08-31 20:17:57 +0200 |
|---|---|---|
| committer | Loic Guegan <manzerbredes@mailbox.org> | 2022-08-31 20:17:57 +0200 |
| commit | d9fb7fc2e379bcbcc963a67a4e8a0c3cd2f20e6d (patch) | |
| tree | 191fb0232ec1825230dd984f7b48ce79d9cb9585 /tests | |
| parent | f924c939ef9e8b48271451c95087d160ac3c3241 (diff) | |
Update run.sh
Diffstat (limited to 'tests')
| -rwxr-xr-x | tests/run.sh | 6 |
1 files 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 -------------" |
