summaryrefslogtreecommitdiffstats
path: root/run.sh
blob: dd35ac46e76aa349908b4b8bab6785f5ef57e4ab (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/sh

GLUSTERFS=$1
OLDDIR=`pwd`

for i in `ls | grep "^[0-9]*$"|sort -n`
do
   cd $i/regr
   if [ -f ./testcase ];then	
   	./testcase $GLUSTERFS
   fi
   cd $OLDDIR
done