blob: 4997ed83f2635327c620d34f9cf71145d4822445 [file] [log] [blame]
sg481n43854a92017-08-03 17:27:34 -04001# /bin/bash
2if [ "$1" == "" ]; then
3 echo "Usage: rpt1 <TestCase>"
4 exit 1
5fi
6
7echo "**"
8echo "** TC Group: $1"
9echo "** Date : "`date`
10echo "** By : "`who | cut -d " " -f 1`
11echo "**"
12echo ""
13echo "-- Description --"
14cat $1/Description
15echo -- Positive Cases --
16grep -h "^# $1.*POS " $1/[0-9]* | cut -d ' ' -f 2- | sed -e 's/ / /'
17echo
18echo -- Negative Cases --
19grep -h "^# $1.*NEG " $1/[0-9]* | cut -d ' ' -f 2- | sed -e 's/ / /'
20
21cd ..
22exit 0