Use log_action function in do-tests script

This commit is contained in:
Reto Buerki
2013-01-17 16:54:53 +01:00
committed by Tobias Brunner
parent 1102a8c1cc
commit 8cb4628ff9
2 changed files with 41 additions and 38 deletions
+14
View File
@@ -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"
}