summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVijay Bellur <vijay@gluster.com>2010-01-26 21:10:03 +0530
committerVijay Bellur <vijay@gluster.com>2010-01-26 21:10:03 +0530
commit0da4ccb80b36394ac144b5ed7c6c0b3db3bc0566 (patch)
tree4b06b746efac8eb7a683ca32b9bc30f2982caf55
parentbdc172371ec2a9823f91b0cfb1f5ac8b7d92c5f0 (diff)
More changes.
-rw-r--r--37/regr/spec_files/client1.vol8
-rw-r--r--37/regr/spec_files/server1.vol13
-rwxr-xr-x37/regr/testcase37
-rwxr-xr-xrun.sh6
4 files changed, 6 insertions, 58 deletions
diff --git a/37/regr/spec_files/client1.vol b/37/regr/spec_files/client1.vol
deleted file mode 100644
index 37ca3e0..0000000
--- a/37/regr/spec_files/client1.vol
+++ /dev/null
@@ -1,8 +0,0 @@
-volume remote1
- type protocol/client
- option transport-type tcp
- option remote-host 127.0.0.1
- option remote-port 9328
- option remote-subvolume brick
-end-volume
-
diff --git a/37/regr/spec_files/server1.vol b/37/regr/spec_files/server1.vol
deleted file mode 100644
index cc0dff2..0000000
--- a/37/regr/spec_files/server1.vol
+++ /dev/null
@@ -1,13 +0,0 @@
-volume brick
- type storage/posix
- option directory /jbod/regr/37/export1
-end-volume
-
-volume server
- type protocol/server
- option transport-type tcp/server
- option listen-port 9328
- subvolumes brick
- option auth.addr.brick.allow 127.0.0.1
-end-volume
-
diff --git a/37/regr/testcase b/37/regr/testcase
deleted file mode 100755
index bd19896..0000000
--- a/37/regr/testcase
+++ /dev/null
@@ -1,37 +0,0 @@
-#!/bin/bash
-#
-# Copyright (c) 2006-2009 Gluster, Inc. <http://www.gluster.com>
-# This file is part of GlusterFS.
-#
-# GlusterFS is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published
-# by the Free Software Foundation; either version 3 of the License,
-# or (at your option) any later version.
-#
-# GlusterFS is distributed in the hope that it will be useful, but
-# WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-# General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program. If not, see
-# <http://www.gnu.org/licenses/>.
-
-description="# Mount command should mimic existing practice"
-comments="# It is more intuitive for unix sysadmin to have glusterfs <server>:<path> /mnt/point"
-
-source ../../init
-start_glusterfs --no-servers --no-clients
-
-sleep 5
-
-mount -t glusterfs 127.0.0.1:$SPECDIR/client1 $MOUNTDIR/client1 2> tmpfile
-if [ $(grep "unknown volfile server port" tmpfile | wc -l) -ne 0 ];then
- not_ok $description
- comment $comments
-else
- ok $description
-fi
-
-rm tmpfile
-cleanup_glusterfs
diff --git a/run.sh b/run.sh
index dd8e23a..d434edb 100755
--- a/run.sh
+++ b/run.sh
@@ -20,6 +20,12 @@
GLUSTERFS=$1
OLDDIR=`pwd`
+if [ 1 -ne $# ]
+then
+ echo "Usage: run.sh <path_to_glusterfs_binary>"
+ return;
+fi
+
for i in `ls | grep "^[0-9]*$"|sort -n`
do
cd $i/regr