sg481n | bd890c5 | 2017-08-28 12:11:35 -0400 | [diff] [blame] | 1 | # /bin/bash |
2 | . ~/.bashrc | ||||
3 | function failed { | ||||
4 | echo "FAILED TEST! " $* | ||||
5 | exit 1 | ||||
6 | } | ||||
7 | |||||
8 | if [ "$1" == "" ] ; then | ||||
9 | DIRS=`find . -name "TC_*" -maxdepth 1`" "`find . -name "MTC_*" -maxdepth 1` | ||||
10 | else | ||||
11 | DIRS="$1" | ||||
12 | fi | ||||
13 | |||||
14 | for DIR in $DIRS; do | ||||
15 | for FILE in $DIR/[0-9]*; do | ||||
16 | echo "*** "$FILE" ***" | ||||
17 | cat $FILE | ||||
18 | echo | ||||
19 | done | ||||
20 | done | ||||
21 | exit 0 |