diff options
author | Vijay Bellur <vijay@gluster.com> | 2009-11-01 23:28:10 +0530 |
---|---|---|
committer | Vijay Bellur <vijay@gluster.com> | 2009-11-01 23:28:10 +0530 |
commit | 39b438a23bc3477a20ad2497fb0e8e64b566bbf1 (patch) | |
tree | 626af5e6e50c128463674893ae1db75d8764ed76 /run.sh | |
parent | 349d271983db33e735451056db97a165140c809c (diff) |
Use path-to-glusterfs as argument instead of version
Diffstat (limited to 'run.sh')
-rwxr-xr-x | run.sh | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -1,13 +1,13 @@ #!/bin/sh -VERSION=$1 +GLUSTERFS=$1 OLDDIR=`pwd` for i in `ls | grep "^[0-9]*$"` do - cd $i - if [ -f ./regr/testcase ];then - ./regr/testcase $VERSION + cd $i/regr + if [ -f ./testcase ];then + ./testcase $GLUSTERFS fi cd $OLDDIR done |