#!/bin/bash

# This shows test procedure report

# 1st argument: filename to be shown

# colors definition
COLOR_NONE="\\x1b[0m"
COLOR_BOLD="\\x1b[1m"
COLOR_RED="\\x1b[31m"
COLOR_GREEN="\\x1b[32m"

cat -n $1 | sed "s/.*TP:.*FAILED.*/${COLOR_BOLD}${COLOR_RED}\0${COLOR_NONE}/g"

#eof