Skip to content

Commit

Permalink
colour highlight the failure msg
Browse files Browse the repository at this point in the history
  • Loading branch information
kaiwan committed Sep 27, 2024
1 parent 14ba073 commit 861575c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test_lkm
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,8 @@ MAKEFILE_FAIL_MSG="The Makefile doesn't have targets corresponding to the 'bette

failit()
{
echo "${FAIL_MSG}" >&2
# highlight the failure msg in red bg white fg!
echo -e "\e[1m\e[41m${FAIL_MSG} \e[0m" >&2
echo "message: $*" >&2
return 1
}
Expand Down

0 comments on commit 861575c

Please sign in to comment.