summaryrefslogtreecommitdiffstats
path: root/authz-test/src/main/scripts/csv
blob: e8712ce3c7cecc42e4b306b1d1f51a39a00ea079 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# /bin/bash
cd TestCases
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