Use log_action function in do-tests script
This commit is contained in:
committed by
Tobias Brunner
parent
1102a8c1cc
commit
8cb4628ff9
@@ -55,6 +55,20 @@ execute_chroot()
|
||||
execute "chroot $LOOPDIR $@"
|
||||
}
|
||||
|
||||
# write green status message to console
|
||||
# $1 - msg
|
||||
echo_ok()
|
||||
{
|
||||
echo -e "${GREEN}$1${NORMAL}"
|
||||
}
|
||||
|
||||
# write red status message to console
|
||||
# $1 - msg
|
||||
echo_failed()
|
||||
{
|
||||
echo -e "${RED}$1${NORMAL}"
|
||||
}
|
||||
|
||||
function cecho {
|
||||
echo -e "\033[1;31m$1\033[0m"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user