summaryrefslogtreecommitdiffstats
path: root/authz-test/TestSuite/cmds
blob: 4d3c6ab4d42fbc55a7c6a1ab37ae88ad073fba17 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# /bin/bash
. ~/.bashrc
function failed {
     echo "FAILED TEST! " $*
     exit 1
}

if [ "$1" == "" ] ; then 
  DIRS=`find . -name "TC_*" -maxdepth 1`" "`find . -name "MTC_*" -maxdepth 1`
else
  DIRS="$1"
fi

  for DIR in $DIRS; do 
    for FILE in $DIR/[0-9]*; do 
       echo "*** "$FILE" ***"
       cat $FILE
       echo
    done
   done
exit 0