summaryrefslogtreecommitdiffstats
path: root/authz-test/TestSuite/csv
blob: a6a0b3055247f1f3bd9e4e6a0590fecf76dcfd76 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
# /bin/bash
if [ "$1" == "" ]; then
   DIRS=`ls -d TC*`
else
   DIRS=$1
fi

echo '"Test Case","Description"'
for DIR in $DIRS; do 
  grep -h "^# $DIR" $DIR/[0-9]* | cut -d ' ' -f 2- | sed -e 's/ /,"/' -e 's/$/"/'
done
cd ..
exit 0