summaryrefslogtreecommitdiffstats
path: root/authz-test/TestSuite/rpt1
blob: 4997ed83f2635327c620d34f9cf71145d4822445 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# /bin/bash
if [ "$1" == "" ]; then
  echo "Usage: rpt1 <TestCase>"
  exit 1
fi

echo "**"
echo "** TC Group: $1"
echo "** Date    : "`date`
echo "** By      : "`who | cut -d " " -f 1`
echo "**"
echo ""
echo "-- Description --"
cat $1/Description 
echo -- Positive Cases --
grep -h "^# $1.*POS " $1/[0-9]* | cut -d ' ' -f 2- | sed -e 's/ /  	/'
echo
echo -- Negative Cases --
grep -h "^# $1.*NEG " $1/[0-9]* | cut -d ' ' -f 2- | sed -e 's/ /	/'

cd ..
exit 0