mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-20 03:50:37 +02:00
add colors to testsuite
This commit is contained in:
parent
83c33b37dd
commit
c5d0a5341f
1 changed files with 2 additions and 2 deletions
|
@ -16,10 +16,10 @@ _run_test () {
|
||||||
}
|
}
|
||||||
_result() {
|
_result() {
|
||||||
if [[ -s ${1} ]]; then
|
if [[ -s ${1} ]]; then
|
||||||
echo -e "\e[1m=> Test result: \e[1;91mFAILED\e[m"
|
echo -e "e[1;94m=> \e[1;91mFAILED\e[m"
|
||||||
cat ${1}
|
cat ${1}
|
||||||
else
|
else
|
||||||
echo -e "\e[1m=> Test result: \e[1;92mOK\e[m"
|
echo -e "e[1;94m=> \e[1;92mOK\e[m"
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue