summaryrefslogtreecommitdiff
path: root/tests/vloghtb/common.sh
blob: dc8aec086f6382070a2d29ae62f10c7c93b5ff70 (plain)
1
2
3
4
5
6
7
log_pass() {
	printf "%-15s %s %s %s\n" "$1" "$2" "`printf "%20s" "$2" | tr -d a-zA-Z0-9_ | tr ' ' .`" "pass."
}

log_fail() {
	printf "%-15s %s %s %s\n" "$1" "$2" "`printf "%20s" "$2" | tr -d a-zA-Z0-9_ | tr ' ' .`" "FAIL."
}