sg481n | 43854a9 | 2017-08-03 17:27:34 -0400 | [diff] [blame] | 1 | # /bin/bash |
2 | if [ "$1" == "" ]; then | ||||
3 | DIRS=`ls -d TC*` | ||||
4 | else | ||||
5 | DIRS=$1 | ||||
6 | fi | ||||
7 | |||||
8 | echo '"Test Case","Description"' | ||||
9 | for DIR in $DIRS; do | ||||
10 | grep -h "^# $DIR" $DIR/[0-9]* | cut -d ' ' -f 2- | sed -e 's/ /,"/' -e 's/$/"/' | ||||
11 | done | ||||
12 | cd .. | ||||
13 | exit 0 |