diff options
author | Vijay Bellur <vijay@gluster.com> | 2011-03-07 10:03:15 +0530 |
---|---|---|
committer | Vijay Bellur <vijay@gluster.com> | 2011-03-07 10:04:24 +0530 |
commit | 914f0aef201b0b3b5709460c9da0262244f280aa (patch) | |
tree | 5fe36ab4ce8dd01c78228a0f262f2cbcabcf455a | |
parent | e460b7a3d828ab43a6fd9d4abdb96109661d30b1 (diff) |
moved old files to legacy
Signed-off by: Raghavendra Bhat <raghavendrabhat@gluster.com>
142 files changed, 0 insertions, 4204 deletions
diff --git a/113/regr/spec_files/client1.vol b/113/regr/spec_files/client1.vol deleted file mode 100644 index a493ee0..0000000 --- a/113/regr/spec_files/client1.vol +++ /dev/null @@ -1,30 +0,0 @@ -volume remote1 - type protocol/client - option transport-type tcp/client - option remote-port 9352 - option remote-host 127.0.0.1 - option remote-subvolume brick -end-volume - -volume remote2 - type protocol/client - option transport-type tcp/client - option remote-port 9353 - option remote-host 127.0.0.1 - option remote-subvolume brick -end-volume - -volume remote3 - type protocol/client - option transport-type tcp/client - option remote-port 9354 - option remote-host 127.0.0.1 - option remote-subvolume brick -end-volume - -volume stripe - type cluster/stripe - option block-size 1MB - subvolumes remote1 remote2 remote3 -end-volume - diff --git a/113/regr/spec_files/server1.vol b/113/regr/spec_files/server1.vol deleted file mode 100644 index 3a28d72..0000000 --- a/113/regr/spec_files/server1.vol +++ /dev/null @@ -1,23 +0,0 @@ -volume posix - type storage/posix - option directory /share/tickets/113/regr/export/export1 -end-volume - -volume locks - type features/locks - subvolumes posix -end-volume - -volume brick - type performance/io-threads - option thread-count 8 - subvolumes locks -end-volume - -volume server - type protocol/server - option transport-type tcp/server - option listen-port 9352 - option auth.addr.brick.allow * - subvolumes brick -end-volume diff --git a/113/regr/spec_files/server2.vol b/113/regr/spec_files/server2.vol deleted file mode 100644 index 0092b59..0000000 --- a/113/regr/spec_files/server2.vol +++ /dev/null @@ -1,23 +0,0 @@ -volume posix - type storage/posix - option directory /share/tickets/113/regr/export/export2 -end-volume - -volume locks - type features/locks - subvolumes posix -end-volume - -volume brick - type performance/io-threads - option thread-count 8 - subvolumes locks -end-volume - -volume server - type protocol/server - option transport-type tcp/server - option listen-port 9353 - option auth.addr.brick.allow * - subvolumes brick -end-volume diff --git a/113/regr/spec_files/server3.vol b/113/regr/spec_files/server3.vol deleted file mode 100644 index b362c64..0000000 --- a/113/regr/spec_files/server3.vol +++ /dev/null @@ -1,23 +0,0 @@ -volume posix - type storage/posix - option directory /share/tickets/113/regr/export/export3 -end-volume - -volume locks - type features/locks - subvolumes posix -end-volume - -volume brick - type performance/io-threads - option thread-count 8 - subvolumes locks -end-volume - -volume server - type protocol/server - option transport-type tcp/server - option listen-port 9354 - option auth.addr.brick.allow * - subvolumes brick -end-volume diff --git a/113/regr/testcase b/113/regr/testcase deleted file mode 100755 index 77e5442..0000000 --- a/113/regr/testcase +++ /dev/null @@ -1,19 +0,0 @@ -#!/bin/bash - -description="# (113) mkdir fails on stripe configuration" -comments="# Simple stripe setup is used." - -source ../../init - -start_glusterfs - -sleep 5 - -if [ $(mkdir $MOUNTDIR/client1/1 | grep "Software caused connection abort" | wc -l) -ne 0 ];then - not_ok $description - comment $comments -else - ok $description -fi - -cleanup_glusterfs diff --git a/117/regr/spec_files/client1.vol b/117/regr/spec_files/client1.vol deleted file mode 100644 index a6d984f..0000000 --- a/117/regr/spec_files/client1.vol +++ /dev/null @@ -1,8 +0,0 @@ -volume remote1 - type protocol/client - option transport-type tcp/client - option remote-port 9355 - option remote-host 127.0.0.1 - option remote-subvolume brick -end-volume - diff --git a/117/regr/spec_files/server1.vol b/117/regr/spec_files/server1.vol deleted file mode 100644 index ae00751..0000000 --- a/117/regr/spec_files/server1.vol +++ /dev/null @@ -1,23 +0,0 @@ -volume posix - type storage/posix - option directory /jbod/regr/117/export1 -end-volume - -volume locks - type features/locks - subvolumes posix -end-volume - -volume brick - type performance/io-threads - option thread-count 8 - subvolumes locks -end-volume - -volume server - type protocol/server - option transport-type tcp/server - option listen-port 9355 - option auth.addr.brick.allow * - subvolumes brick -end-volume diff --git a/117/regr/testcase b/117/regr/testcase deleted file mode 100755 index 8747633..0000000 --- a/117/regr/testcase +++ /dev/null @@ -1,19 +0,0 @@ -#!/bin/bash - -description="# (117) Wrong command line does not throw error" -comments="# Whenever glusterfs is not started, exit status should not be 0" - -source ../../init - -start_glusterfs --no-clients - -$GLUSTERFS -f $SPECDIR/client1.vol $LOGDIR/$(hostname)-client1.log $MOUNTDIR/client1 2> /dev/null - -if [ $? -ne 0 ];then - not_ok $description - comment $comments -else - ok $description -fi - -cleanup_glusterfs
\ No newline at end of file diff --git a/131/regr/spec_files/client1.vol b/131/regr/spec_files/client1.vol deleted file mode 100644 index 465385e..0000000 --- a/131/regr/spec_files/client1.vol +++ /dev/null @@ -1,33 +0,0 @@ -volume remote1 - type protocol/client - option transport-type tcp - option remote-port 9335 - option remote-host 127.0.0.1 - option remote-subvolume brick -end-volume - -volume remote2 - type protocol/client - option transport-type tcp - option remote-port 9336 - option remote-host 127.0.0.1 - option remote-subvolume brick -end-volume - -volume distribute - type cluster/distribute - subvolumes remote1 remote2 -end-volume - -volume writebehind - type performance/write-behind - option window-size 1MB - subvolumes distribute -end-volume - -volume cache - type performance/io-cache - option cache-size 512MB - subvolumes writebehind -end-volume - diff --git a/131/regr/spec_files/server1.vol b/131/regr/spec_files/server1.vol deleted file mode 100644 index 90ca750..0000000 --- a/131/regr/spec_files/server1.vol +++ /dev/null @@ -1,24 +0,0 @@ -volume posix - type storage/posix - option directory /jbod/regr/131/export1 -end-volume - -volume locks - type features/locks - subvolumes posix -end-volume - -volume brick - type performance/io-threads - option thread-count 8 - subvolumes locks -end-volume - -volume server - type protocol/server - option transport-type tcp - option listen-port 9335 - option auth.addr.brick.allow * - subvolumes brick -end-volume - diff --git a/131/regr/spec_files/server2.vol b/131/regr/spec_files/server2.vol deleted file mode 100644 index ae92061..0000000 --- a/131/regr/spec_files/server2.vol +++ /dev/null @@ -1,24 +0,0 @@ -volume posix - type storage/posix - option directory /jbod/regr/131/export2 -end-volume - -volume locks - type features/locks - subvolumes posix -end-volume - -volume brick - type performance/io-threads - option thread-count 8 - subvolumes locks -end-volume - -volume server - type protocol/server - option transport-type tcp - option listen-port 9336 - option auth.addr.brick.allow * - subvolumes brick -end-volume - diff --git a/131/regr/testcase b/131/regr/testcase deleted file mode 100755 index 144fe15..0000000 --- a/131/regr/testcase +++ /dev/null @@ -1,35 +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="# (131) provide a way to get the file location in clustered storage" -comments="#doesn't have a mechanism to get the location of the file" - -source ../../init - -start_glusterfs - -sleep 5 -if [ $(getfattr -d -e hex -m "trusted.glusterfs.location" $MOUNTDIR/client1 2> /dev/null | wc -l) -ne 0 ];then - ok $description -else - not_ok $desrciption - comment $comments -fi - -cleanup_glusterfs diff --git a/133/regr/spec_files/client1.vol b/133/regr/spec_files/client1.vol deleted file mode 100644 index 043e637..0000000 --- a/133/regr/spec_files/client1.vol +++ /dev/null @@ -1,33 +0,0 @@ -volume remote1 - type protocol/client - option transport-type tcp - option remote-port 9337 - option remote-host 127.0.0.1 - option remote-subvolume brick -end-volume - -volume remote2 - type protocol/client - option transport-type tcp - option remote-port 9338 - option remote-host 127.0.0.1 - option remote-subvolume brick -end-volume - -volume distribute - type cluster/distribute - subvolumes remote1 remote2 -end-volume - -volume writebehind - type performance/write-behind - option window-size 1MB - subvolumes distribute -end-volume - -volume cache - type performance/io-cache - option cache-size 512MB - subvolumes writebehind -end-volume - diff --git a/133/regr/spec_files/server1.vol b/133/regr/spec_files/server1.vol deleted file mode 100644 index 6dc9048..0000000 --- a/133/regr/spec_files/server1.vol +++ /dev/null @@ -1,24 +0,0 @@ -volume posix - type storage/posix - option directory /jbod/regr/133/export1 -end-volume - -volume locks - type features/locks - subvolumes posix -end-volume - -volume brick - type performance/io-threads - option thread-count 8 - subvolumes locks -end-volume - -volume server - type protocol/server - option transport-type tcp - option listen-port 9337 - option auth.addr.brick.allow * - subvolumes brick -end-volume - diff --git a/133/regr/spec_files/server2.vol b/133/regr/spec_files/server2.vol deleted file mode 100644 index 04561bc..0000000 --- a/133/regr/spec_files/server2.vol +++ /dev/null @@ -1,24 +0,0 @@ -volume posix - type storage/posix - option directory /jbod/regr/133/export2 -end-volume - -volume locks - type features/locks - subvolumes posix -end-volume - -volume brick - type performance/io-threads - option thread-count 8 - subvolumes locks -end-volume - -volume server - type protocol/server - option transport-type tcp - option listen-port 9338 - option auth.addr.brick.allow * - subvolumes brick -end-volume - diff --git a/133/regr/testcase b/133/regr/testcase deleted file mode 100755 index 3b0590b..0000000 --- a/133/regr/testcase +++ /dev/null @@ -1,35 +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="# (133) posix_getxattr doesn't handle 'glusterfs.content' key" -comments="#Supporting glusterfs.content key" - -source ../../init - -start_glusterfs - -sleep 5 -if [ $(getfattr -d -e hex -m "trusted.glusterfs.content" $MOUNTDIR/client1 2> /dev/null | wc -l) -ne 0 ];then - ok $description -else - not_ok $description - comment $comments -fi - -cleanup_glusterfs diff --git a/14/regr/spec_files/client1.vol b/14/regr/spec_files/client1.vol deleted file mode 100644 index 4637e67..0000000 --- a/14/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 9310 - option remote-subvolume brick -end-volume - diff --git a/14/regr/spec_files/server1.vol b/14/regr/spec_files/server1.vol deleted file mode 100644 index 944fe14..0000000 --- a/14/regr/spec_files/server1.vol +++ /dev/null @@ -1,13 +0,0 @@ -volume brick - type storage/posix - option directory /jbod/regr/14/export1 -end-volume - -volume server - type protocol/server - option transport-type tcp - option listen-port 9310 - option auth.addr.brick.allow * - subvolumes brick -end-volume - diff --git a/14/regr/testcase b/14/regr/testcase deleted file mode 100755 index b2c4e86..0000000 --- a/14/regr/testcase +++ /dev/null @@ -1,36 +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="#[ glusterfs 2.0.2 ] - No error logged on stdout/stderr upon missing mount point during client invocation" -comments="#error should be displayed on the sreen" - -source ../../init - -start_glusterfs --no-clients - -$($GLUSTERFS --run-id regr.c.$BUGID -f $SPECDIR/client1.vol -l $LOGDIR/$(hostname)-client1.log) -if [ $? -ne 0 ] -then - ok $description -else - not_ok $description - comment $comments -fi - -cleanup_glusterfs diff --git a/141/regr/spec_files/server1.vol b/141/regr/spec_files/server1.vol deleted file mode 100644 index 43523d9..0000000 --- a/141/regr/spec_files/server1.vol +++ /dev/null @@ -1,24 +0,0 @@ -volume posix - type storage/posix - option directory /jbod/regr/141/../141/export1 -end-volume - -volume locks - type features/locks - subvolumes posix -end-volume - -volume brick - type performance/io-threads - option thread-count 8 - subvolumes locks -end-volume - -volume server - type protocol/server - option transport-type tcp - option listen-port 9343 - option auth.addr.brick.allow * - subvolumes brick -end-volume - diff --git a/141/regr/testcase b/141/regr/testcase deleted file mode 100755 index 6f1fb15..0000000 --- a/141/regr/testcase +++ /dev/null @@ -1,18 +0,0 @@ -#!/bin/bash - -description="# (141) GF_OPTION_TYPE_PATH should check for presence of ".." in path" -comments="#Should return EINVAL if ".." is found" - -source ../../init - -start_glusterfs --no-clients - -if [ $(grep "invalid path given" $LOGDIR/$(hostname)-server1.log | wc -l) -ne 0 ];then - ok $description -else - not_ok $description - comment $comments -fi - -cleanup_glusterfs - diff --git a/143/regr/ctestfun.c b/143/regr/ctestfun.c deleted file mode 100644 index 4184a21..0000000 --- a/143/regr/ctestfun.c +++ /dev/null @@ -1,38 +0,0 @@ -#include <unistd.h> -#include <sys/types.h> -#include <fcntl.h> -#include <malloc.h> -#include <sys/stat.h> -#include <errno.h> -#include <stdio.h> -#include <stdlib.h> - -int main (int argc,char *argv[]) { - char *n0 = NULL; - struct stat *buf1 = NULL; - int ret = 0; - - n0 = argv[1]; - buf1 = calloc (1, sizeof (*buf1)); - gid_t list[3] = {65533, 65532, 65531}; - - creat (n0, 0644); - chown (n0, 65534, 65533); - chmod (n0, 06555); - - setgroups (3, &list); - setuid (65534); - - chown (n0, 65534, 65532); - ret = stat (n0, buf1); - if (ret == -1) { - printf ("stat error, error no = %d",errno); - exit (EXIT_FAILURE); - } - if (buf1->st_gid != 65532) - exit (EXIT_FAILURE); - - free (buf1); - - exit (EXIT_SUCCESS); -} diff --git a/143/regr/spec_files/client1.vol b/143/regr/spec_files/client1.vol deleted file mode 100644 index b46dbbe..0000000 --- a/143/regr/spec_files/client1.vol +++ /dev/null @@ -1,33 +0,0 @@ -volume remote1 - type protocol/client - option transport-type tcp - option remote-port 9346 - option remote-host 127.0.0.1 - option remote-subvolume brick -end-volume - -volume remote2 - type protocol/client - option transport-type tcp - option remote-port 9347 - option remote-host 127.0.0.1 - option remote-subvolume brick -end-volume - -volume replicate - type cluster/replicate - subvolumes remote1 remote2 -end-volume - -volume writebehind - type performance/write-behind - option window-size 1MB - subvolumes replicate -end-volume - -volume cache - type performance/io-cache - option cache-size 512MB - subvolumes writebehind -end-volume - diff --git a/143/regr/spec_files/server1.vol b/143/regr/spec_files/server1.vol deleted file mode 100644 index c66f7e1..0000000 --- a/143/regr/spec_files/server1.vol +++ /dev/null @@ -1,24 +0,0 @@ -volume posix - type storage/posix - option directory /share/tickets/143/regr/export/export1 -end-volume - -volume locks - type features/locks - subvolumes posix -end-volume - -volume brick - type performance/io-threads - option thread-count 8 - subvolumes locks -end-volume - -volume server - type protocol/server - option transport-type tcp - option listen-port 9346 - option auth.addr.brick.allow * - subvolumes brick -end-volume - diff --git a/143/regr/spec_files/server2.vol b/143/regr/spec_files/server2.vol deleted file mode 100644 index 45909a4..0000000 --- a/143/regr/spec_files/server2.vol +++ /dev/null @@ -1,24 +0,0 @@ -volume posix - type storage/posix - option directory /share/tickets/143/regr/export/export2 -end-volume - -volume locks - type features/locks - subvolumes posix -end-volume - -volume brick - type performance/io-threads - option thread-count 8 - subvolumes locks -end-volume - -volume server - type protocol/server - option transport-type tcp - option listen-port 9347 - option auth.addr.brick.allow * - subvolumes brick -end-volume - diff --git a/143/regr/testcase b/143/regr/testcase deleted file mode 100755 index 695156f..0000000 --- a/143/regr/testcase +++ /dev/null @@ -1,20 +0,0 @@ -#!/bin/bash - -description="# (143) Mysterious lost chown call" -comments="# Fix will be by adding setattr() fop to glusterfs." - -source ../../init - -start_glusterfs - -gcc -o ctestfun ctestfun.c -./ctestfun $MOUNTDIR/client1/1 - -if [ $? -ne 0 ];then - not_ok $description - comment $comments -else - ok $description -fi - -cleanup_glusterfs diff --git a/15/regr/spec_files/client1.vol b/15/regr/spec_files/client1.vol deleted file mode 100644 index 2ab9fcd..0000000 --- a/15/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 9315 - option remote-subvolume brick -end-volume - diff --git a/15/regr/spec_files/server1.vol b/15/regr/spec_files/server1.vol deleted file mode 100644 index 002b428..0000000 --- a/15/regr/spec_files/server1.vol +++ /dev/null @@ -1,13 +0,0 @@ -volume brick - type storage/posix - option directory /jbod/regr/15/export1 -end-volume - -volume server - type protocol/server - option transport-type tcp - option listen-port 9315 - option auth.addr.brick.allow * - subvolumes brick -end-volume - diff --git a/15/regr/testcase b/15/regr/testcase deleted file mode 100755 index 16ce6e5..0000000 --- a/15/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="# [ glusterfs 2.0.2 ] - Unclear log message with missing mount point (during client invocation)" -comments="# dangling volume is printed in the log" - -source ../../init - -start_glusterfs --no-clients - -$($GLUSTERFS --run-id regr.c.$BUGID -f $SPECDIR/client1.vol -l $LOGDIR/$(hostname)-client1.log) - -if [ $(grep "Volume is dangling" $LOGDIR/$(hostname)-client1.log | wc -l) -ne 0 ] -then - not_ok $description - comment $comments -else - ok $description -fi - -cleanup_glusterfs diff --git a/156/regr/spec_files/client1.vol b/156/regr/spec_files/client1.vol deleted file mode 100644 index d7b4f87..0000000 --- a/156/regr/spec_files/client1.vol +++ /dev/null @@ -1,8 +0,0 @@ -volume remote1 - type protocol/client - option transport-type tcp - option remote-port 9362 - option remote-host 127.0.0.1 - option remote-subvolume brick -end-volume - diff --git a/156/regr/spec_files/server1.vol b/156/regr/spec_files/server1.vol deleted file mode 100644 index 0953880..0000000 --- a/156/regr/spec_files/server1.vol +++ /dev/null @@ -1,23 +0,0 @@ -volume posix - type storage/posix - option directory /jbod/regr/156/export1 -end-volume - -volume locks - type features/locks - subvolumes posix -end-volume - -volume brick - type performance/io-threads - option thread-count 8 - subvolumes locks -end-volume - -volume server - type protocol/server - option transport-type tcp - option listen-port 9370 - option auth.addr.brick.allow * - subvolumes brick -end-volume diff --git a/156/regr/testcase b/156/regr/testcase deleted file mode 100755 index 38810a1..0000000 --- a/156/regr/testcase +++ /dev/null @@ -1,112 +0,0 @@ -#!/bin/bash - -description="# (156) Broken symbolic link when relative path is given for a log file" -comments="# When glusterfs is started with giving relative path for the log file, the symbolic link is broken." - -source ../../init - -start_glusterfs --no-servers --no-clients - -$GLUSTERFS --run-id bug-156 -f $SPECDIR/server1.vol -l ../regr/server11.log - -sleep 5 - -if [ $(ls -ltr server11.log | grep '../' | wc -l) -ne 0 ];then - not_ok $description - comment $comments -else - ok $description -fi - -rm server11.log* 2> /dev/null - -cleanup_glusterfs - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/172/regr/spec_files/client1.vol b/172/regr/spec_files/client1.vol deleted file mode 100644 index 5f8427d..0000000 --- a/172/regr/spec_files/client1.vol +++ /dev/null @@ -1,68 +0,0 @@ -volume remote1 - type protocol/client - option transport-type tcp/client - option remote-port 9352 - option remote-host 127.0.0.1 - option remote-subvolume brick -end-volume - -volume remote2 - type protocol/client - option transport-type tcp/client - option remote-port 9353 - option remote-host 127.0.0.1 - option remote-subvolume brick -end-volume - -volume remote3 - type protocol/client - option transport-type tcp/client - option remote-port 9354 - option remote-host 127.0.0.1 - option remote-subvolume brick -end-volume - - -volume remote4 - type protocol/client - option transport-type tcp/client - option remote-port 9355 - option remote-host 127.0.0.1 - option remote-subvolume brick -end-volume - - - -volume stripe - type cluster/stripe - subvolumes remote1 remote2 remote3 remote4 -end-volume - -volume iocache - - type performance/io-cache - - option cache-size `grep 'MemTotal' /proc/meminfo | awk '{print $2 * 0.2 / 1024}' | cut -f1 -d.`MB - - option cache-timeout 1 - - subvolumes stripe - -end-volume - -volume writeback - - type performance/write-behind - - option aggregate-size 1MB - - option window-size 2MB - - option flush-behind off - - subvolumes iocache - -end-volume - - - diff --git a/172/regr/spec_files/server1.vol b/172/regr/spec_files/server1.vol deleted file mode 100644 index ab0ac99..0000000 --- a/172/regr/spec_files/server1.vol +++ /dev/null @@ -1,23 +0,0 @@ -volume posix - type storage/posix - option directory /home/laks/workpath/regression/172/regr/export/export1 -end-volume - -volume locks - type features/locks - subvolumes posix -end-volume - -volume brick - type performance/io-threads - option thread-count 8 - subvolumes locks -end-volume - -volume server - type protocol/server - option transport-type tcp/server - option listen-port 9352 - option auth.addr.brick.allow * - subvolumes brick -end-volume diff --git a/172/regr/spec_files/server2.vol b/172/regr/spec_files/server2.vol deleted file mode 100644 index ca0ddc2..0000000 --- a/172/regr/spec_files/server2.vol +++ /dev/null @@ -1,23 +0,0 @@ -volume posix - type storage/posix - option directory /home/laks/workpath/regression/172/regr/export/export2 -end-volume - -volume locks - type features/locks - subvolumes posix -end-volume - -volume brick - type performance/io-threads - option thread-count 8 - subvolumes locks -end-volume - -volume server - type protocol/server - option transport-type tcp/server - option listen-port 9353 - option auth.addr.brick.allow * - subvolumes brick -end-volume diff --git a/172/regr/spec_files/server3.vol b/172/regr/spec_files/server3.vol deleted file mode 100644 index 10e7330..0000000 --- a/172/regr/spec_files/server3.vol +++ /dev/null @@ -1,23 +0,0 @@ -volume posix - type storage/posix - option directory /home/laks/workpath/regression/172/regr/export/export3 -end-volume - -volume locks - type features/locks - subvolumes posix -end-volume - -volume brick - type performance/io-threads - option thread-count 8 - subvolumes locks -end-volume - -volume server - type protocol/server - option transport-type tcp/server - option listen-port 9354 - option auth.addr.brick.allow * - subvolumes brick -end-volume diff --git a/172/regr/spec_files/server4.vol b/172/regr/spec_files/server4.vol deleted file mode 100644 index 710f51e..0000000 --- a/172/regr/spec_files/server4.vol +++ /dev/null @@ -1,23 +0,0 @@ -volume posix - type storage/posix - option directory /home/laks/workpath/regression/172/regr/export/export4 -end-volume - -volume locks - type features/locks - subvolumes posix -end-volume - -volume brick - type performance/io-threads - option thread-count 8 - subvolumes locks -end-volume - -volume server - type protocol/server - option transport-type tcp/server - option listen-port 9355 - option auth.addr.brick.allow * - subvolumes brick -end-volume diff --git a/172/regr/testcase b/172/regr/testcase deleted file mode 100755 index 92a29b3..0000000 --- a/172/regr/testcase +++ /dev/null @@ -1,50 +0,0 @@ -#!/bin/bash - -description="# Bug 172 - Cannot open - on tar extraction " -comments="# trying to run kernel_compile tar extraction" - - -source ../../init - -start_glusterfs - -sleep 2 -cd $MOUNTDIR - -mkdir txt - -for i in {1..1000} -do - -(dd if=/dev/zero of=$MOUNTDIR/txt/$i.txt bs=4kB count=25) 2> /dev/null -done - - - -tar -cf file.tar txt/* 2> /dev/null -retval1=$? - -tar -xf file.tar 2> /dev/null - -retval2=$? - - - -if [ $retval1 -eq 0 ] && [ $retval2 -eq 0 ] -then - ok $description - comment $comments - -else - not_ok $description - comment $comments - -fi - - -rm $MOUNTDIR/file.tar >/dev/null - -rm -rf $MOUNTDIR/txt > /dev/null - -cleanup_glusterfs - diff --git a/226/regr/spec_files/client1.vol b/226/regr/spec_files/client1.vol deleted file mode 100755 index 4a185ca..0000000 --- a/226/regr/spec_files/client1.vol +++ /dev/null @@ -1,34 +0,0 @@ -# file: /etc/glusterfs/glusterfs-client.vol -volume remote1 - type protocol/client - option transport-type tcp - option remote-host 127.0.0.1 - option transport.socket.remote-port 1500 - option remote-subvolume brick -end-volume - -volume remote2 - type protocol/client - option transport-type tcp - option remote-host 127.0.0.1 - option transport.socket.remote-port 1600 - option remote-subvolume brick -end-volume - -volume replicate - type cluster/replicate - subvolumes remote1 remote2 -end-volume - -volume writebehind - type performance/write-behind - option window-size 1MB - subvolumes replicate -end-volume - -volume cache - type performance/io-cache - option cache-size 512MB - subvolumes writebehind -end-volume - diff --git a/226/regr/spec_files/server1.vol b/226/regr/spec_files/server1.vol deleted file mode 100755 index 4c6d133..0000000 --- a/226/regr/spec_files/server1.vol +++ /dev/null @@ -1,25 +0,0 @@ -# file: /etc/glusterfs/glusterfs-server.vol -volume posix - type storage/posix - option directory /jbod/regr/226/export1 -end-volume - -volume locks - type features/locks - subvolumes posix -end-volume - -volume brick - type performance/io-threads - option thread-count 8 - subvolumes locks -end-volume - -volume server - type protocol/server - option transport-type tcp - option auth.addr.brick.allow * - option transport.socket.listen-port 1600 - subvolumes brick -end-volume - diff --git a/226/regr/spec_files/server2.vol b/226/regr/spec_files/server2.vol deleted file mode 100755 index 9901b04..0000000 --- a/226/regr/spec_files/server2.vol +++ /dev/null @@ -1,25 +0,0 @@ -# file: /etc/glusterfs/glusterfs-server.vol -volume posix - type storage/posix - option directory /jbod/regr/226/export2 -end-volume - -volume locks - type features/locks - subvolumes posix -end-volume - -volume brick - type performance/io-threads - option thread-count 8 - subvolumes locks -end-volume - -volume server - type protocol/server - option transport-type tcp - option auth.addr.brick.allow * - option transport.socket.listen-port 1500 - subvolumes brick -end-volume - diff --git a/226/regr/testcase b/226/regr/testcase deleted file mode 100755 index 3b72e94..0000000 --- a/226/regr/testcase +++ /dev/null @@ -1,49 +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="#mkdir fails" -comments="#mkdir after rm of regular file of same name fails" - -source ../../init - -start_glusterfs --no-servers --no-clients - -## Testcase START -if [ ! -f /sbin/mount.glusterfs-$VERSION ]; then - sed -e 's/^\(\s*prefix=\)".*"/\1"\/opt\/glusterfs\/'$VERSION'"/; s/^\(\s*cmd_line=.*\/sbin\/\).*/\1glusterfs");/' /sbin/mount.glusterfs > /sbin/mount.glusterfs-$VERSION - chmod +x /sbin/mount.glusterfs-$VERSION -fi - -cd $MOUNTDIR - -touch dot -rm -rf dot -mkdir dot 2> tmpfile - -if [ $(grep "File exists" tmpfile | wc -l) -ne 0 ];then - not_ok $description - comment $comments -else - ok $description -fi - -rm tmpfile -## Testcase End - -cleanup_glusterfs diff --git a/234/regr/spec_files/client1.vol b/234/regr/spec_files/client1.vol deleted file mode 100644 index 8e1bc27..0000000 --- a/234/regr/spec_files/client1.vol +++ /dev/null @@ -1,33 +0,0 @@ -volume client - type protocol/client - option transport-type tcp - option remote-host 127.0.0.1 # IP address of the remote brick - option transport.socket.remote-port 7003 # default server port is 6996 -# option transport-timeout 30 # seconds to wait for a reply from server for each request - option remote-subvolume brick # name of the remote volume -end-volume - -### Add readahead feature -volume readahead - type performance/read-ahead - option page-size 1MB # unit in bytes - option page-count 2 # cache per file = (page-count x page-size) - subvolumes client -end-volume - -### Add IO-Cache feature -volume iocache - type performance/io-cache - option page-size 256KB - option page-count 2 - subvolumes readahead -end-volume - -### Add writeback feature -volume writeback - type performance/write-behind - option aggregate-size 1MB - option window-size 2MB - option flush-behind off - subvolumes client -end-volume diff --git a/234/regr/spec_files/open_dir.c b/234/regr/spec_files/open_dir.c deleted file mode 100644 index 81c8d7d..0000000 --- a/234/regr/spec_files/open_dir.c +++ /dev/null @@ -1,21 +0,0 @@ -#include <stdio.h> -#include <stdlib.h> -#include <unistd.h> -#include <sys/stat.h> -#include <dirent.h> -#include <sys/types.h> -#include <fcntl.h> -#include <errno.h> - -int main(int argc, char *argv[]) -{ - DIR *dir; - dir = opendir(argv[1]); - if ( dir == NULL ) { - return errno; - } - else { - closedir(dir); - return 0; - } -} diff --git a/234/regr/spec_files/server1.vol b/234/regr/spec_files/server1.vol deleted file mode 100644 index 29541eb..0000000 --- a/234/regr/spec_files/server1.vol +++ /dev/null @@ -1,21 +0,0 @@ -###posix translator#### -volume posix1 - type storage/posix # POSIX FS translator - option directory /root/regression/234/regr/export/export1 # Export this directory -end-volume - -### threads handled by the server -volume brick - type performance/io-threads - option thread-count 8 - subvolumes posix1 -end-volume - -### Add network serving capability to above brick. -volume server - type protocol/server - option transport-type tcp - option transport.socket.listen-port 7003 # Default is 6996 - subvolumes brick - option auth.addr.brick.allow * # Allow access to "brick" volume -end-volume diff --git a/234/regr/testcase b/234/regr/testcase deleted file mode 100755 index 96987b5..0000000 --- a/234/regr/testcase +++ /dev/null @@ -1,36 +0,0 @@ -#!/bin/bash - -description="# opendir system call on a symbolic link to a directory fails" -comments="# When opendir() system call is executed on a symbolic link to a directory, it gives an error" - -source ../../init - -start_glusterfs --no-clients - -sleep 5 - -gcc $SPECDIR/open_dir.c -o $SPECDIR/opendir - -mkdir $EXPORTDIR/export1/imp/ -ln -s $EXPORTDIR/export1/imp/ $EXPORTDIR/export1/link - -echo "$SPECDIR/client1.vol $MOUNTDIR/client1 glusterfs subvolume=client,logfile=$LOGDIR/clog,loglevel=DEBUG" > $SPECDIR/booster.conf -export GLUSTERFS_BOOSTER_FSTAB=$SPECDIR/booster.conf -export LD_PRELOAD=$(dirname $GLUSTERFSDIR)/lib/glusterfs/glusterfs-booster.so - -$SPECDIR/opendir $MOUNTDIR/client1/imp -$SPECDIR/opendir $MOUNTDIR/client1/link - -if [ $? -ne 0 ]; then - not_ok $description - comment $comments -else - ok $description - comment $comments -fi - -rm $SPECDIR/opendir $SPECDIR/booster.conf -GLUSTERFS_BOOSTER_FSTAB= -LD_PRELOAD= - -cleanup_glusterfs
\ No newline at end of file diff --git a/241/regr/spec_files/client1.vol b/241/regr/spec_files/client1.vol deleted file mode 100644 index 03e1aed..0000000 --- a/241/regr/spec_files/client1.vol +++ /dev/null @@ -1,28 +0,0 @@ -volume remote1 -type protocol/client -option transport-type tcp -option remote-port 9350 -option remote-host 127.0.0.1 -option remote-subvolume brick -end-volume - -volume remote2 -type protocol/client -option transport-type tcp -option remote-port 9351 -option remote-host 127.0.0.1 -option remote-subvolume brick -end-volume - -volume cs -type cluster/replicate -subvolumes remote1 remote2 -end-volume - -volume cache -type performance/io-cache -option cache-size 512MB -subvolumes cs -end-volume - - diff --git a/241/regr/spec_files/server1.vol b/241/regr/spec_files/server1.vol deleted file mode 100644 index c366041..0000000 --- a/241/regr/spec_files/server1.vol +++ /dev/null @@ -1,23 +0,0 @@ -volume posix -type storage/posix -option directory /jbod/regr/241/export1 -end-volume - -volume locks -type features/locks -subvolumes posix -end-volume - -volume brick -type performance/io-threads -subvolumes locks -end-volume - -volume server -type protocol/server -option transport-type tcp -option listen-port 9350 -option auth.addr.brick.allow * -subvolumes brick -end-volume - diff --git a/241/regr/spec_files/server2.vol b/241/regr/spec_files/server2.vol deleted file mode 100644 index 054e59f..0000000 --- a/241/regr/spec_files/server2.vol +++ /dev/null @@ -1,23 +0,0 @@ -volume posix -type storage/posix -option directory /jbod/regr/241/export2 -end-volume - -volume locks -type features/locks -subvolumes posix -end-volume - -volume brick -type performance/io-threads -subvolumes locks -end-volume - -volume server -type protocol/server -option transport-type tcp -option listen-port 9351 -option auth.addr.brick.allow * -subvolumes brick -end-volume - diff --git a/241/regr/testcase b/241/regr/testcase deleted file mode 100755 index 4bbafd6..0000000 --- a/241/regr/testcase +++ /dev/null @@ -1,51 +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="# (241) GlusterFS not honouring SETGID flag" -comments="# setgid problem on glusterfs mount" - -source ../../init -start_glusterfs - -sleep 5 -cd $MOUNTDIR/client1 -mkdir 1 -chgrp avahi 1 -chmod g+s 1 -var1=$(ls -ld 1 | cut -d " " -f 4) -cd 1 -mkdir 2 -var2=$(ls -ld 2 | cut -d " " -f 4) - -#echo $var1 -#echo $var2 - -if [ $var1 = $var2 ];then - ok $description -else - not_ok $description - comment $comments -fi - -rmdir $MOUNTDIR/client1/1/2 -cd .. -rmdir $MOUNTDIR/client1/1 -cd `dirname $MOUNTDIR` - -cleanup_glusterfs diff --git a/245/regr/spec_files/client1.vol b/245/regr/spec_files/client1.vol deleted file mode 100644 index c948c41..0000000 --- a/245/regr/spec_files/client1.vol +++ /dev/null @@ -1,28 +0,0 @@ -volume remote1 - type protocol/client - option transport-type tcp/client - option remote-port 9352 - option remote-host 127.0.0.1 - option remote-subvolume brick -end-volume - -volume remote2 - type protocol/client - option transport-type tcp/client - option remote-port 9353 - option remote-host 127.0.0.1 - option remote-subvolume brick -end-volume - - -volume replica - type cluster/replicate - subvolumes remote1 remote2 -end-volume - - -volume write-behind - type performance/write-behind - option enable-trickling-writes on - subvolumes replica -end-volume diff --git a/245/regr/spec_files/server1.vol b/245/regr/spec_files/server1.vol deleted file mode 100644 index 1b66b6d..0000000 --- a/245/regr/spec_files/server1.vol +++ /dev/null @@ -1,23 +0,0 @@ -volume posix - type storage/posix - option directory /home/laks/workpath/regression/245/regr/export/export1 -end-volume - -volume locks - type features/locks - subvolumes posix -end-volume - -volume brick - type performance/io-threads - option thread-count 8 - subvolumes locks -end-volume - -volume server - type protocol/server - option transport-type tcp/server - option listen-port 9352 - option auth.addr.brick.allow * - subvolumes brick -end-volume diff --git a/245/regr/spec_files/server2.vol b/245/regr/spec_files/server2.vol deleted file mode 100644 index 136dc3e..0000000 --- a/245/regr/spec_files/server2.vol +++ /dev/null @@ -1,23 +0,0 @@ -volume posix - type storage/posix - option directory /home/laks/workpath/regression/245/regr/export/export2 -end-volume - -volume locks - type features/locks - subvolumes posix -end-volume - -volume brick - type performance/io-threads - option thread-count 8 - subvolumes locks -end-volume - -volume server - type protocol/server - option transport-type tcp/server - option listen-port 9353 - option auth.addr.brick.allow * - subvolumes brick -end-volume diff --git a/245/regr/testcase b/245/regr/testcase deleted file mode 100755 index 4cc16c9..0000000 --- a/245/regr/testcase +++ /dev/null @@ -1,31 +0,0 @@ -#!/bin/bash - -description="# Bug 245 - Transport endpoint is not connected" -comments="# Touching a file works, writing actual data to it doesn't " - - -source ../../init - -start_glusterfs - -sleep 2 -echo "this is file content" > $MOUNTDIR/client1/testing.txt - -retval1=$? - - -if [ $retval1 -eq 0 ] -then - ok $description - comment $comments - -else - not_ok $description - comment $comments - -fi - - -rm $MOUNTDIR/client1/testing.txt >/dev/null -cleanup_glusterfs - diff --git a/248/regr/spec_files/client1.vol b/248/regr/spec_files/client1.vol deleted file mode 100644 index 7f1174c..0000000 --- a/248/regr/spec_files/client1.vol +++ /dev/null @@ -1,61 +0,0 @@ -### file: client-volume.vol.sample - -##################################### -### GlusterFS Client Volume File ## -##################################### - -#### CONFIG FILE RULES: -### "#" is comment character. -### - Config file is case sensitive -### - Options within a volume block can be in any order. -### - Spaces or tabs are used as delimitter within a line. -### - Each option should end within a line. -### - Missing or commented fields will assume default values. -### - Blank/commented lines are allowed. -### - Sub-volumes should already be defined above before referring. - -### Add client feature and attach to remote subvolume -volume client - type protocol/client - option transport-type tcp -# option transport-type unix -# option transport-type ib-sdp - option remote-host 127.0.0.1 # IP address of the remote brick - option transport.socket.remote-port 7001 # default server port is 6996 - -# option transport-type ib-verbs -# option transport.ib-verbs.remote-port 6996 # default server port is 6996 -# option transport.ib-verbs.work-request-send-size 1048576 -# option transport.ib-verbs.work-request-send-count 16 -# option transport.ib-verbs.work-request-recv-size 1048576 -# option transport.ib-verbs.work-request-recv-count 16 - -# option transport-timeout 30 # seconds to wait for a reply - # from server for each request - option remote-subvolume brick # name of the remote volume -end-volume - -### Add readahead feature -volume readahead - type performance/read-ahead - option page-size 1MB # unit in bytes - option page-count 2 # cache per file = (page-count x page-size) - subvolumes client -end-volume - -### Add IO-Cache feature -volume iocache - type performance/io-cache - option page-size 256KB - option page-count 2 - subvolumes readahead -end-volume - -### Add writeback feature -volume writeback - type performance/write-behind - option aggregate-size 1MB - option window-size 2MB - option flush-behind off - subvolumes iocache -end-volume
\ No newline at end of file diff --git a/248/regr/spec_files/server1.vol b/248/regr/spec_files/server1.vol deleted file mode 100644 index b81cf93..0000000 --- a/248/regr/spec_files/server1.vol +++ /dev/null @@ -1,53 +0,0 @@ -### file: server-volume.vol.sample - -##################################### -### GlusterFS Server Volume File ## -##################################### - -#### CONFIG FILE RULES: -### "#" is comment character. -### - Config file is case sensitive -### - Options within a volume block can be in any order. -### - Spaces or tabs are used as delimitter within a line. -### - Multiple values to options will be : delimitted. -### - Each option should end within a line. -### - Missing or commented fields will assume default values. -### - Blank/commented lines are allowed. -### - Sub-volumes should already be defined above before referring. - -### Export volume "brick" with the contents of "/home/export" directory. -volume posix1 - type storage/posix # POSIX FS translator - option directory /root/work/regression.git/248/regr/export/export1 -end-volume - -volume brick - type performance/io-threads - option thread-count 8 - subvolumes posix1 -end-volume - -### Add network serving capability to above brick. -volume server - type protocol/server - option transport-type tcp -# option transport-type unix -# option transport-type ib-sdp -# option transport.socket.bind-address 192.168.1.10 # Default is to listen on all interfaces - option transport.socket.listen-port 7001 # Default is 6996 - -# option transport-type ib-verbs -# option transport.ib-verbs.bind-address 192.168.1.10 # Default is to listen on all interfaces -# option transport.ib-verbs.listen-port # Default is 6996 -# option transport.ib-verbs.work-request-send-size 131072 -# option transport.ib-verbs.work-request-send-count 64 -# option transport.ib-verbs.work-request-recv-size 131072 -# option transport.ib-verbs.work-request-recv-count 64 - -# option client-volume-filename /etc/glusterfs/glusterfs-client.vol - subvolumes brick -# NOTE: Access to any volume through protocol/server is denied by -# default. You need to explicitly grant access through # "auth" -# option. - option auth.addr.brick.allow * # Allow access to "brick" volume -end-volume
\ No newline at end of file diff --git a/248/regr/testcase b/248/regr/testcase deleted file mode 100755 index 37d7780..0000000 --- a/248/regr/testcase +++ /dev/null @@ -1,33 +0,0 @@ -#!/bin/bash - -description="# Updating stats in posix is incorrect" -comments="# In POSIX, updating nr_files is not being done right. It is being incremented -even before checking return values from open() and close()." - -source ../../init - -start_glusterfs --no-servers --no-clients - -sleep 2 - -$($GLUSTERFS --run-id regr.c.$BUGID -f $SPECDIR/server1.vol -l $LOGDIR/$(hostname)-server1.log --pid-file=$PWD/server1.pid) -sleep 1 -$($GLUSTERFS --run-id regr.c.$BUGID -f $SPECDIR/client1.vol $MOUNTDIR/client1 -l $LOGDIR/$(hostname)-client1.log --pid-file=$PWD/client1.pid) - - -dbench -s -S 10 -t 10 -D $MOUNTDIR/client1 >/dev/null -cat server1.pid | xargs kill -USR1 >/dev/null -NR_FILES=$(grep 'nr_files' /tmp/glusterdump.`cat server1.pid` 2> /dev/null | cut -d"=" -f2 | grep 0 | wc -l) - -if [ $NR_FILES -ne 0 ] ; then - ok $description - comment $comments -else - not_ok $description - comment $comments -fi - -rm /tmp/glusterdump.`cat server1.pid` 2> /dev/null -cleanup_glusterfs -cat server1.pid | xargs kill -9 >/dev/null -rm *.pid >/dev/null diff --git a/260/regr/spec_files/client1.vol b/260/regr/spec_files/client1.vol deleted file mode 100644 index 0ea4d33..0000000 --- a/260/regr/spec_files/client1.vol +++ /dev/null @@ -1,38 +0,0 @@ -volume brick-0-0-0 -type protocol/client -option transport-type tcp -option remote-host 127.0.0.1 -option remote-port 6999 -option remote-subvolume brick0 -end-volume - -volume rep-0-0 -type cluster/replicate -subvolumes brick-0-0-0 -end-volume - -volume brick-0-1-0 -type protocol/client -option transport-type tcp -option remote-host 127.0.0.1 -option remote-port 6999 -option remote-subvolume brick1 -end-volume - -volume rep-0-1 -type cluster/replicate -subvolumes brick-0-1-0 -end-volume - -volume union -type cluster/distribute -subvolumes rep-0-0 rep-0-1 -end-volume - -volume client -type performance/write-behind -option cache-size 64MB -option flush-behind on -subvolumes union -end-volume - diff --git a/260/regr/spec_files/server1.vol b/260/regr/spec_files/server1.vol deleted file mode 100644 index ee956f1..0000000 --- a/260/regr/spec_files/server1.vol +++ /dev/null @@ -1,42 +0,0 @@ -volume posix0 -type storage/posix -option directory /root/regression/260/regr/export/export1 -end-volume - -volume lock0 -type features/locks -subvolumes posix0 -end-volume - -volume brick0 -type performance/io-threads -option thread-count 2 -subvolumes lock0 -end-volume - -volume posix1 -type storage/posix -option directory /root/regression/260/regr/export/export1 -end-volume - -volume lock1 -type features/locks -subvolumes posix1 -end-volume - -volume brick1 -type performance/io-threads -option thread-count 2 -subvolumes lock1 -end-volume - -volume server -type protocol/server -option transport-type tcp -option transport.socket.listen-port 6999 -option auth.addr.brick0.allow * -option auth.addr.brick1.allow * -subvolumes brick0 brick1 -end-volume - - diff --git a/260/regr/testcase b/260/regr/testcase deleted file mode 100755 index 5c002e5..0000000 --- a/260/regr/testcase +++ /dev/null @@ -1,29 +0,0 @@ -#!/bin/bash - -description="#ls on booster VMP results in error: File descriptor in bad state" -comments="# ls command on the VMP gives ls: closing directory <VMP> : File descriptor in bad state as the output" - -source ../../init - -start_glusterfs --no-clients - -sleep 5 -echo "$SPECDIR/client1.vol $MOUNTDIR/client1 glusterfs subvolume=client,logfile=$LOGDIR/clog,loglevel=DEBUG" > $SPECDIR/booster.conf -export GLUSTERFS_BOOSTER_FSTAB=$SPECDIR/booster.conf -export LD_PRELOAD=$(dirname $GLUSTERFSDIR)/lib/glusterfs/glusterfs-booster.so - -touch $MOUNTDIR/client1/a1 -ls $MOUNTDIR/client1 2> tmpfile >/dev/null -if [ $(grep "ls: closing directory $MOUNTDIR/client1: File descriptor in bad state" tmpfile | wc -l) -ne 0 ]; then - not_ok $description - comment $comments -else - ok $description - comment $comments -fi - -GLUSTERFS_BOOSTER_FSTAB= -LD_PRELOAD= -rm tmpfile $SPECDIR/booster.conf - -cleanup_glusterfs
\ No newline at end of file diff --git a/266/regr/spec_files/client1.vol b/266/regr/spec_files/client1.vol deleted file mode 100644 index 7273d0f..0000000 --- a/266/regr/spec_files/client1.vol +++ /dev/null @@ -1,38 +0,0 @@ -# **** Clustered Client config file **** - -### Add client feature and attach to remote subvolume of server1 -volume client1 - type protocol/client - option transport-type tcp # for TCP/IP transport - option remote-host 127.0.0.1 # IP address of the remote brick - option transport.socket.remote-port 7001 # default server port is 6996 - option transport.socket.nodelay on - option remote-subvolume brick1 # name of the remote volume -end-volume - -### Add client feature and attach to remote subvolume of server2 -volume client2 - type protocol/client - option transport-type tcp # for TCP/IP transport - option remote-host 127.0.0.1 # IP address of the remote brick - option transport.socket.remote-port 7002 # default server port is 6996 - option transport.socket.nodelay on - option remote-subvolume brick2 # name of the remote volume -end-volume - -volume client3 - type protocol/client - option transport-type tcp # for TCP/IP transport - option remote-host 127.0.0.1 # IP address of the remote brick - option transport.socket.remote-port 7003 # default server port is 6996 - option transport.socket.nodelay on - option remote-subvolume brick3 # name of the remote volume -end-volume - -## Add Stripe Feature. -volume stripe - type cluster/stripe - subvolumes client1 client2 client3 - #option block-size 100MB -end-volume - diff --git a/266/regr/spec_files/mknod.c b/266/regr/spec_files/mknod.c deleted file mode 100644 index adc2dc3..0000000 --- a/266/regr/spec_files/mknod.c +++ /dev/null @@ -1,20 +0,0 @@ -#include <stdlib.h> -#include <unistd.h> -#include <sys/types.h> -#include <sys/stat.h> -#include <fcntl.h> -#include <errno.h> -#include <stdio.h> - -int main (int argc, char *argv[]) -{ - - int ret = -1; - - ret = mknod (argv[1] , S_IFREG | 0644, 0); - - if(ret == 0) - return ret; - else - return errno; -} diff --git a/266/regr/spec_files/server1.vol b/266/regr/spec_files/server1.vol deleted file mode 100644 index 6f68154..0000000 --- a/266/regr/spec_files/server1.vol +++ /dev/null @@ -1,35 +0,0 @@ -# **** server1 spec file **** - -### Export volume "brick" with the contents of "/home/export" directory. -volume posix1 - type storage/posix # POSIX FS translator - option directory /root/regression/266/regr/export/export1 -end-volume - -volume error1 - type debug/error-gen - option error-no ENOSPC - subvolumes posix1 -end-volume - -### Add POSIX record locking support to the storage brick -volume brick1 - type features/posix-locks - option mandatory on # enables mandatory locking on all files - subvolumes error1 -end-volume - -### Add network serving capability to above brick. -volume server - type protocol/server - option transport-type tcp # For TCP/IP transport - option transport.socket.listen-port 7001 # Default is 6996 - option transport.socket.nodelay on -# option client-volume-filename /etc/glusterfs/glusterfs-client.vol - subvolumes brick1 - option auth.addr.brick1.allow * # access to "brick" volume -end-volume - - -#========================================================================= - diff --git a/266/regr/spec_files/server2.vol b/266/regr/spec_files/server2.vol deleted file mode 100644 index f7dd13d..0000000 --- a/266/regr/spec_files/server2.vol +++ /dev/null @@ -1,32 +0,0 @@ -# **** server2 spec file **** -volume posix2 - type storage/posix # POSIX FS translator - option directory /root/regression/266/regr/export/export2 -end-volume - -volume error2 - type debug/error-gen - option error-no ENOSPC - subvolumes posix2 -end-volume - -### Add POSIX record locking support to the storage brick -volume brick2 - type features/posix-locks - option mandatory on # enables mandatory locking on all files - subvolumes error2 -end-volume - -### Add network serving capability to above brick. -volume server - type protocol/server - option transport-type tcp # For TCP/IP transport - option transport.socket.listen-port 7002 # Default is 6996 - option transport.socket.nodelay on - subvolumes brick2 - option auth.addr.brick2.allow * # Allow access to "brick" volume -end-volume - - -#========================================================================= - diff --git a/266/regr/spec_files/server3.vol b/266/regr/spec_files/server3.vol deleted file mode 100644 index 20d32a0..0000000 --- a/266/regr/spec_files/server3.vol +++ /dev/null @@ -1,33 +0,0 @@ -# **** server3 spec file **** - -volume posix3 - type storage/posix # POSIX FS translator - option directory /root/regression/266/regr/export/export3 -end-volume - -volume error3 - type debug/error-gen - option error-no ENOSPC - subvolumes posix3 -end-volume - -### Add POSIX record locking support to the storage brick -volume brick3 - type features/posix-locks - option mandatory on # enables mandatory locking on all files - subvolumes error3 -end-volume - -### Add network serving capability to above brick. -volume server - type protocol/server - option transport-type tcp # For TCP/IP transport - option transport.socket.listen-port 7003 # Default is 6996 - option transport.socket.nodelay on - subvolumes brick3 - option auth.addr.brick3.allow * # access to "brick" volume -end-volume - - -#========================================================================= - diff --git a/266/regr/testcase b/266/regr/testcase deleted file mode 100755 index 933735a..0000000 --- a/266/regr/testcase +++ /dev/null @@ -1,24 +0,0 @@ -#!/bin/bash - -description="# In stripe client crashes when disk space is full" -comments="# When mknod system call is executed on a disk which is full with S_IFREG client crashes " - -source ../../init - -start_glusterfs - -sleep 5 - -gcc $SPECDIR/mknod.c -o $SPECDIR/mkn -$SPECDIR/mkn $MOUNTDIR/client1/foo -if [ $? -ne 0 ]; then - not_ok $description - comment $comments -else - ok $description - comment $comments -fi - -rm $SPECDIR/mkn - -cleanup_glusterfs
\ No newline at end of file diff --git a/27/regr/spec_files/client1.vol b/27/regr/spec_files/client1.vol deleted file mode 100644 index 3ac2a94..0000000 --- a/27/regr/spec_files/client1.vol +++ /dev/null @@ -1,9 +0,0 @@ -volume client1 - type protocol/client - option transport-type tcp - option remote-port 9321 - option remote-host 127.0.0.1 - option remote-subvolume brick -end-volume - - diff --git a/27/regr/spec_files/server1.vol b/27/regr/spec_files/server1.vol deleted file mode 100644 index 7b4c53a..0000000 --- a/27/regr/spec_files/server1.vol +++ /dev/null @@ -1,30 +0,0 @@ -volume posix - type storage/posix - option directory /share/tickets/27/regr/export/export1 -end-volume - -volume trash - type testing/features/trash - option trash-dir /.trashcan - subvolumes posix -end-volume - -volume locks - type features/locks - subvolumes trash -end-volume - -volume brick - type performance/io-threads - option thread-count 8 - subvolumes locks -end-volume - -volume server - type protocol/server - option transport-type tcp - option listen-port 9321 - option auth.addr.brick.allow * - subvolumes brick -end-volume - diff --git a/27/regr/testcase b/27/regr/testcase deleted file mode 100755 index cf5d2ec..0000000 --- a/27/regr/testcase +++ /dev/null @@ -1,41 +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="# testing/features/trashcan crashes server" -comments="#the actual bug.... After deleting a file, if you browse to the trashcan and delete it again, the server crashes." - -source ../../init - -start_glusterfs - -sleep 5 - -touch $MOUNTDIR/client1/test1 && rm $MOUNTDIR/client1/test1 -for var in `seq 1 100`; do - rm $MOUNTDIR/client1/.trashcan/test1 2> /dev/null - if [ $? -ne 0 ];then - not_ok $description - comment $comments - break - fi -done - -[ $var -eq 100 ] && ok $description - -cleanup_glusterfs diff --git a/277/regr/spec_files/client1.vol b/277/regr/spec_files/client1.vol deleted file mode 100644 index 9cfeb44..0000000 --- a/277/regr/spec_files/client1.vol +++ /dev/null @@ -1,61 +0,0 @@ -### file: client-volume.vol.sample - -##################################### -### GlusterFS Client Volume File ## -##################################### - -#### CONFIG FILE RULES: -### "#" is comment character. -### - Config file is case sensitive -### - Options within a volume block can be in any order. -### - Spaces or tabs are used as delimitter within a line. -### - Each option should end within a line. -### - Missing or commented fields will assume default values. -### - Blank/commented lines are allowed. -### - Sub-volumes should already be defined above before referring. - -### Add client feature and attach to remote subvolume -volume client - type protocol/client - option transport-type tcp -# option transport-type unix -# option transport-type ib-sdp - option remote-host 127.0.0.1 # IP address of the remote brick - option transport.socket.remote-port 6997 # default server port is 6996 - -# option transport-type ib-verbs -# option transport.ib-verbs.remote-port 6996 # default server port is 6996 -# option transport.ib-verbs.work-request-send-size 1048576 -# option transport.ib-verbs.work-request-send-count 16 -# option transport.ib-verbs.work-request-recv-size 1048576 -# option transport.ib-verbs.work-request-recv-count 16 - -# option transport-timeout 30 # seconds to wait for a reply - # from server for each request - option remote-subvolume brick # name of the remote volume -end-volume - -### Add readahead feature -volume readahead - type performance/read-ahead - option page-size 1MB # unit in bytes - option page-count 2 # cache per file = (page-count x page-size) - subvolumes client -end-volume - -### Add IO-Cache feature -volume iocache - type performance/io-cache - option page-size 256KB - option page-count 2 - subvolumes readahead -end-volume - -### Add writeback feature -volume writeback - type performance/write-behind - option aggregate-size 1MB - option window-size 2MB - option flush-behind off - subvolumes iocache -end-volume diff --git a/277/regr/spec_files/fcntl.c b/277/regr/spec_files/fcntl.c deleted file mode 100644 index 6aff3d4..0000000 --- a/277/regr/spec_files/fcntl.c +++ /dev/null @@ -1,24 +0,0 @@ -#include<stdio.h> -#include<stdlib.h> -#include<unistd.h> -#include<sys/types.h> -#include<sys/stat.h> -#include<fcntl.h> -#include<errno.h> - -int main(int argc, char *argv[]) -{ - int fd; - int dup_fd; - fd = open (argv[1], O_RDONLY | O_CREAT,0755); - if (fd == -1) { - return errno; - } else { - dup_fd = fcntl(fd, F_DUPFD); - } - if ( dup_fd == -1) { - return errno; - } else - return 0; -} - diff --git a/277/regr/spec_files/server1.vol b/277/regr/spec_files/server1.vol deleted file mode 100644 index 1b27aa0..0000000 --- a/277/regr/spec_files/server1.vol +++ /dev/null @@ -1,53 +0,0 @@ -### file: server-volume.vol.sample - -##################################### -### GlusterFS Server Volume File ## -##################################### - -#### CONFIG FILE RULES: -### "#" is comment character. -### - Config file is case sensitive -### - Options within a volume block can be in any order. -### - Spaces or tabs are used as delimitter within a line. -### - Multiple values to options will be : delimitted. -### - Each option should end within a line. -### - Missing or commented fields will assume default values. -### - Blank/commented lines are allowed. -### - Sub-volumes should already be defined above before referring. - -### Export volume "brick" with the contents of "/home/export" directory. -volume posix1 - type storage/posix # POSIX FS translator - option directory /root/regression/277/regr/export/export1 -end-volume - -volume brick - type performance/io-threads - option thread-count 8 - subvolumes posix1 -end-volume - -### Add network serving capability to above brick. -volume server - type protocol/server - option transport-type tcp -# option transport-type unix -# option transport-type ib-sdp -# option transport.socket.bind-address 192.168.1.10 # Default is to listen on all interfaces - option transport.socket.listen-port 6997 # Default is 6996 - -# option transport-type ib-verbs -# option transport.ib-verbs.bind-address 192.168.1.10 # Default is to listen on all interfaces - option transport.ib-verbs.listen-port 7001 # Default is 6996 -# option transport.ib-verbs.work-request-send-size 131072 -# option transport.ib-verbs.work-request-send-count 64 -# option transport.ib-verbs.work-request-recv-size 131072 -# option transport.ib-verbs.work-request-recv-count 64 - -# option client-volume-filename /etc/glusterfs/glusterfs-client.vol - subvolumes brick -# NOTE: Access to any volume through protocol/server is denied by -# default. You need to explicitly grant access through # "auth" -# option. - option auth.addr.brick.allow * # Allow access to "brick" volume -end-volume diff --git a/277/regr/testcase b/277/regr/testcase deleted file mode 100755 index 10ad25a..0000000 --- a/277/regr/testcase +++ /dev/null @@ -1,33 +0,0 @@ -#!/bin/bash - -description="# fcntl system with F_DUPFD command fails on booster" -comments="# when fcntl system call is executed with the F_DUPFD command the call fails with EINVAL as the error status" - -source ../../init - -start_glusterfs --no-clients - -sleep 5 - -echo "$SPECDIR/client1.vol $MOUNTDIR/client1 glusterfs subvolume=client,logfile=$LOGDIR/clog,loglevel=DEBUG" > $SPECDIR/booster.conf -export GLUSTERFS_BOOSTER_FSTAB=$SPECDIR/booster.conf -export LD_PRELOAD=$(dirname $GLUSTERFSDIR)/lib/glusterfs/glusterfs-booster.so -touch $MOUNTDIR/client1/a1 - -sleep 2 -gcc $SPECDIR/fcntl.c -o $SPECDIR/fcntl -$SPECDIR/fcntl $MOUNTDIR/client1/a1 - -if [ $? -eq 22 ]; then - not_ok $description - comment $comments -else - ok $description - comment $comments -fi - -rm $SPECDIR/fcntl $SPECDIR/booster.conf -GLUSTERFS_BOOSTER_FSTAB= -LD_PRELOAD= - -cleanup_glusterfs
\ No newline at end of file diff --git a/28/regr/spec_files/client1.vol b/28/regr/spec_files/client1.vol deleted file mode 100644 index 448789c..0000000 --- a/28/regr/spec_files/client1.vol +++ /dev/null @@ -1,33 +0,0 @@ -volume remote1 - type protocol/client - option transport-type tcp - option remote-port 9322 - option remote-host 127.0.0.1 - option remote-subvolume brick -end-volume - -volume remote2 - type protocol/client - option transport-type tcp - option remote-port 9323 - option remote-host 127.0.0.1 - option remote-subvolume brick -end-volume - -volume replicate - type cluster/replicate - subvolumes remote1 remote2 -end-volume - -volume writebehind - type performance/write-behind - option window-size 1MB - subvolumes replicate -end-volume - -volume cache - type performance/io-cache - option cache-size 512MB - subvolumes writebehind -end-volume - diff --git a/28/regr/spec_files/server1.vol b/28/regr/spec_files/server1.vol deleted file mode 100644 index 3be6fbc..0000000 --- a/28/regr/spec_files/server1.vol +++ /dev/null @@ -1,24 +0,0 @@ -volume posix - type storage/posix - option directory /jbod/regr/28/export1 -end-volume - -volume locks - type features/locks - subvolumes posix -end-volume - -volume brick - type performance/io-threads - option thread-count 8 - subvolumes locks -end-volume - -volume server - type protocol/server - option transport-type tcp - option listen-port 9322 - option auth.addr.brick.allow * - subvolumes brick -end-volume - diff --git a/28/regr/spec_files/server2.vol b/28/regr/spec_files/server2.vol deleted file mode 100644 index 690ca71..0000000 --- a/28/regr/spec_files/server2.vol +++ /dev/null @@ -1,25 +0,0 @@ -volume posix - type storage/posix - option directory /jbod/regr/28/export2 -end-volume - -volume locks - type features/locks - subvolumes posix -end-volume - -volume brick - type performance/io-threads - option thread-count 8 - subvolumes locks -end-volume - -volume server - type protocol/server - option transport-type tcp - option listen-port 9323 - option auth.addr.brick.allow * - subvolumes brick -end-volume - - diff --git a/28/regr/testcase b/28/regr/testcase deleted file mode 100755 index 8e2b99d..0000000 --- a/28/regr/testcase +++ /dev/null @@ -1,42 +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="# (28) Deleting a backend export directory in an AFR setup can cause a segfault while trying to self heal" -comments="# If the backend export directory is deleted, self heal tries to mkdir and while doing so accesses loc->parent which is NULL and segfaults." - -source ../../init - -start_glusterfs - -sleep 5 - -rmdir $EXPORTDIR/export1 -for var in `seq 1 100`; do - ls $MOUNTDIR/client1 2> tmpfile - if [ $(grep "Transport endpoint is not connected" tmpfile | wc -l) -ne 0 ];then - not_ok $description - comment $comments - break - fi -done -rm tmpfile - -[ $var -eq 100 ] && ok $description - -cleanup_glusterfs diff --git a/31/regr/spec_files/client1.vol b/31/regr/spec_files/client1.vol deleted file mode 100644 index 2fcc041..0000000 --- a/31/regr/spec_files/client1.vol +++ /dev/null @@ -1,44 +0,0 @@ -volume nwtnhqfarm24.brick - type protocol/client - option transport-type tcp/client - option remote-host 127.0.0.1 - option remote-port 9326 - option remote-subvolume brick -end-volume - -volume grnlfarm24.brick - type protocol/client - option transport-type tcp/client - option remote-host 127.0.0.1 - option remote-port 9326 - option remote-subvolume brick -end-volume - -volume afr24 - type cluster/afr - subvolumes nwtnhqfarm24.brick grnlfarm24.brick -end-volume - - ## Add writeback feature -volume write-behind_afr24 - type performance/write-behind - option cache-size 3MB - option flush-behind on - subvolumes afr24 -end-volume - - ### Add IO-Cache feature -volume iocache_afr24 - type performance/io-cache - option cache-size 64MB # default is 32MB - option page-size 1MB #128KB is default option - option force-revalidate-timeout 2 # default is 1 - subvolumes write-behind_afr24 -end-volume - - ### Add readahead feature -volume readahead_afr24 - type performance/read-ahead - option page-count 16 - subvolumes iocache_afr24 -end-volume diff --git a/31/regr/spec_files/server1.vol b/31/regr/spec_files/server1.vol deleted file mode 100644 index 16e016a..0000000 --- a/31/regr/spec_files/server1.vol +++ /dev/null @@ -1,27 +0,0 @@ -volume brick-posix - type storage/posix - option directory /jbod/regr/31/export1 -end-volume - - -volume brick-posix-locks - type features/posix-locks - subvolumes brick-posix -end-volume - - -volume brick - type performance/io-threads - option thread-count 4 - subvolumes brick-posix-locks -end-volume - - - ### Add network serving capability to above brick. -volume server - type protocol/server - option transport-type tcp/server # For TCP/IP transport - option auth.addr.brick.allow 127.0.0.1 - option listen-port 9326 - subvolumes brick -end-volume diff --git a/31/regr/spec_files/server2.vol b/31/regr/spec_files/server2.vol deleted file mode 100644 index e420a1b..0000000 --- a/31/regr/spec_files/server2.vol +++ /dev/null @@ -1,27 +0,0 @@ -volume brick-posix - type storage/posix - option directory /jbod/regr/31/export2 -end-volume - - -volume brick-posix-locks - type features/posix-locks - subvolumes brick-posix -end-volume - - -volume brick - type performance/io-threads - option thread-count 4 - subvolumes brick-posix-locks -end-volume - - - ### Add network serving capability to above brick. -volume server - type protocol/server - option transport-type tcp/server # For TCP/IP transport - option auth.addr.brick.allow 127.0.0.1 - option listen-port 9327 - subvolumes brick -end-volume diff --git a/31/regr/testcase b/31/regr/testcase deleted file mode 100755 index 84f7d54..0000000 --- a/31/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="# glusterfs server crash on trying to copy a file to glusterfs mount" -comments="# cp -fv filename mountpoint" - -source ../../init - -start_glusterfs - -sleep 5 - -cp -fv /etc/shadow $MOUNTDIR/client1 > /dev/null -if [ $(ls $EXPORTDIR/export2 | wc -l) -ne 0 ];then - ok $description -else - not_ok $description - comment $comments -fi - -cleanup_glusterfs diff --git a/310/regr/spec_files/client1.vol b/310/regr/spec_files/client1.vol deleted file mode 100755 index 9ff8d95..0000000 --- a/310/regr/spec_files/client1.vol +++ /dev/null @@ -1,27 +0,0 @@ -volume remote1 - type protocol/client - option transport-type tcp - option remote-host 127.0.0.1 - option transport.socket.remote-port 1500 - option remote-subvolume brick -end-volume - -volume remote2 - type protocol/client - option transport-type tcp - option remote-host 127.0.0.1 - option transport.socket.remote-port 1600 - option remote-subvolume brick -end-volume - -volume replicate - type cluster/replicate - subvolumes remote1 remote2 -end-volume - -volume writebehind - type performance/write-behind - option window-size 1MB - subvolumes replicate -end-volume - diff --git a/310/regr/spec_files/server1.vol b/310/regr/spec_files/server1.vol deleted file mode 100755 index 4c6d133..0000000 --- a/310/regr/spec_files/server1.vol +++ /dev/null @@ -1,25 +0,0 @@ -# file: /etc/glusterfs/glusterfs-server.vol -volume posix - type storage/posix - option directory /jbod/regr/226/export1 -end-volume - -volume locks - type features/locks - subvolumes posix -end-volume - -volume brick - type performance/io-threads - option thread-count 8 - subvolumes locks -end-volume - -volume server - type protocol/server - option transport-type tcp - option auth.addr.brick.allow * - option transport.socket.listen-port 1600 - subvolumes brick -end-volume - diff --git a/310/regr/spec_files/server2.vol b/310/regr/spec_files/server2.vol deleted file mode 100755 index 9901b04..0000000 --- a/310/regr/spec_files/server2.vol +++ /dev/null @@ -1,25 +0,0 @@ -# file: /etc/glusterfs/glusterfs-server.vol -volume posix - type storage/posix - option directory /jbod/regr/226/export2 -end-volume - -volume locks - type features/locks - subvolumes posix -end-volume - -volume brick - type performance/io-threads - option thread-count 8 - subvolumes locks -end-volume - -volume server - type protocol/server - option transport-type tcp - option auth.addr.brick.allow * - option transport.socket.listen-port 1500 - subvolumes brick -end-volume - diff --git a/310/regr/testcase b/310/regr/testcase deleted file mode 100755 index b33c861..0000000 --- a/310/regr/testcase +++ /dev/null @@ -1,41 +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="# [ 310 ] While trying to create a file on replicate with write behind set-up, client crashes" -comments="# [ 310 ] While trying to create a file on replicate with write behind set-up, client crashes" - -source ../../init - -start_glusterfs - - -cd $MOUNTDIR/client1 - -touch dot 2> tmpfile - -if [ $(grep "Transport endpoint not connected" tmpfile | wc -l) -ne 0 ];then - not_ok $description - comment $comments -else - ok $description -fi - -rm tmpfile -## Testcase End -cleanup_glusterfs diff --git a/313/regr/spec_files/client1.vol b/313/regr/spec_files/client1.vol deleted file mode 100644 index 0c59631..0000000 --- a/313/regr/spec_files/client1.vol +++ /dev/null @@ -1,58 +0,0 @@ -volume remote1 - type protocol/client - option transport-type tcp - option remote-port 9350 - option remote-host 127.0.0.1 - option remote-subvolume brick -end-volume - -volume remote2 - type protocol/client - option transport-type tcp - option remote-port 9351 - option remote-host 127.0.0.1 - option remote-subvolume brick -end-volume - -volume remote3 - type protocol/client - option transport-type tcp - option remote-port 9352 - option remote-host 127.0.0.1 - option remote-subvolume brick -end-volume - -volume remote4 - type protocol/client - option transport-type tcp - option remote-port 9353 - option remote-host 127.0.0.1 - option remote-subvolume brick -end-volume - -volume replicate1 - type cluster/replicate - subvolumes remote1 remote2 -end-volume - -volume replicate2 - type cluster/replicate - subvolumes remote3 remote4 -end-volume - -volume distribute - type cluster/distribute - subvolumes replicate1 replicate2 -end-volume - -volume writebehind - type performance/write-behind - option window-size 1MB - subvolumes distribute -end-volume - -volume cache - type performance/io-cache - option cache-size 512MB - subvolumes writebehind -end-volume diff --git a/313/regr/spec_files/server1.vol b/313/regr/spec_files/server1.vol deleted file mode 100644 index 8aef1f6..0000000 --- a/313/regr/spec_files/server1.vol +++ /dev/null @@ -1,23 +0,0 @@ -volume posix - type storage/posix - option directory /jbod/regr/313/export1 -end-volume - -volume locks - type features/locks - subvolumes posix -end-volume - -volume brick - type performance/io-threads - option thread-count 8 - subvolumes locks -end-volume - -volume server - type protocol/server - option transport-type tcp - option listen-port 9350 - option auth.addr.brick.allow * - subvolumes brick -end-volume diff --git a/313/regr/spec_files/server2.vol b/313/regr/spec_files/server2.vol deleted file mode 100644 index 2aa9b6a..0000000 --- a/313/regr/spec_files/server2.vol +++ /dev/null @@ -1,23 +0,0 @@ -volume posix - type storage/posix - option directory /jbod/regr/313/export2 -end-volume - -volume locks - type features/locks - subvolumes posix -end-volume - -volume brick - type performance/io-threads - option thread-count 8 - subvolumes locks -end-volume - -volume server - type protocol/server - option transport-type tcp - option listen-port 9351 - option auth.addr.brick.allow * - subvolumes brick -end-volume diff --git a/313/regr/spec_files/server3.vol b/313/regr/spec_files/server3.vol deleted file mode 100644 index 31403ef..0000000 --- a/313/regr/spec_files/server3.vol +++ /dev/null @@ -1,23 +0,0 @@ -volume posix - type storage/posix - option directory /jbod/regr/313/export3 -end-volume - -volume locks - type features/locks - subvolumes posix -end-volume - -volume brick - type performance/io-threads - option thread-count 8 - subvolumes locks -end-volume - -volume server - type protocol/server - option transport-type tcp - option listen-port 9352 - option auth.addr.brick.allow * - subvolumes brick -end-volume
\ No newline at end of file diff --git a/313/regr/spec_files/server4.vol b/313/regr/spec_files/server4.vol deleted file mode 100644 index c040a47..0000000 --- a/313/regr/spec_files/server4.vol +++ /dev/null @@ -1,23 +0,0 @@ -volume posix - type storage/posix - option directory /jbod/regr/313/export4 -end-volume - -volume locks - type features/locks - subvolumes posix -end-volume - -volume brick - type performance/io-threads - option thread-count 8 - subvolumes locks -end-volume - -volume server - type protocol/server - option transport-type tcp - option listen-port 9353 - option auth.addr.brick.allow * - subvolumes brick -end-volume
\ No newline at end of file diff --git a/313/regr/testcase b/313/regr/testcase deleted file mode 100755 index 17378b2..0000000 --- a/313/regr/testcase +++ /dev/null @@ -1,39 +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="# (313) rename is broken" -comments="#when try to rename a file using mv it fails" - -source ../../init -start_glusterfs - -sleep 10; - -touch $MOUNTDIR/client1/tmp1.txt -mv $MOUNTDIR/client1/tmp1.txt $MOUNTDIR/client1/tmp2.txt 2> tmpfile - -if [ $(grep "Structure needs cleaning" tmpfile | wc -l) -ne 0 ];then - not_ok $description - comment $comments -else - ok $description -fi - -rm tmpfile -cleanup_glusterfs diff --git a/339/regr/spec_files/server1.vol b/339/regr/spec_files/server1.vol deleted file mode 100644 index fd013b6..0000000 --- a/339/regr/spec_files/server1.vol +++ /dev/null @@ -1,22 +0,0 @@ -volume posix - type storage/posix - option directory /share/tickets/339/regr/export/export1 -end-volume - -volume locks - type features/locks - subvolumes posix -end-volume - -volume brick - type performance/io-threads - option thread-count 8 - subvolumes locks -end-volume - -volume server - type protocol/server - option transport-type tcp - option auth.addr.brick.allow * - subvolumes brick -end-volume
\ No newline at end of file diff --git a/339/regr/testcase b/339/regr/testcase deleted file mode 100755 index b90d54b..0000000 --- a/339/regr/testcase +++ /dev/null @@ -1,38 +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="# [ 339 ] glusterfsd fails to start when there are no active interfaces having address in the address family configured" -comments="# [ 339 ] glusterfsd fails to start when there are no active interfaces having address in the address family configured" - -source ../../init - -start_glusterfs --no-clients - -LOG_MSG=$(tail $LOGDIR/$(hostname)-server1.log | grep 'glusterfs: Successfully started' | wc -l) - - -if [ $LOG_MSG -eq 0 ]; then - not_ok $description - comment $comments -else - ok $description -fi - -cleanup_glusterfs
\ No newline at end of file diff --git a/378/regr/spec_files/client1.vol b/378/regr/spec_files/client1.vol deleted file mode 100644 index cada574..0000000 --- a/378/regr/spec_files/client1.vol +++ /dev/null @@ -1,41 +0,0 @@ -volume remote1 - type protocol/client - option transport-type tcp - option remote-port 9350 - option remote-host 127.0.0.1 - option remote-subvolume brick -end-volume - -volume remote2 - type protocol/client - option transport-type tcp - option remote-port 9351 - option remote-host 127.0.0.1 - option remote-subvolume brick -end-volume - -volume remote3 - type protocol/client - option transport-type tcp - option remote-port 9352 - option remote-host 127.0.0.1 - option remote-subvolume brick -end-volume - -volume remote4 - type protocol/client - option transport-type tcp - option remote-port 9353 - option remote-host 127.0.0.1 - option remote-subvolume brick -end-volume - -volume replicate1 - type cluster/replicate - subvolumes remote1 remote2 remote3 remote4 -end-volume - -volume trace - type debug/trace - subvolumes replicate1 -end-volume diff --git a/378/regr/spec_files/server1.vol b/378/regr/spec_files/server1.vol deleted file mode 100644 index 97b2584..0000000 --- a/378/regr/spec_files/server1.vol +++ /dev/null @@ -1,23 +0,0 @@ -volume posix - type storage/posix - option directory /share/tickets/309/regr/export/export1 -end-volume - -volume locks - type features/locks - subvolumes posix -end-volume - -volume brick - type performance/io-threads - option thread-count 8 - subvolumes locks -end-volume - -volume server - type protocol/server - option transport-type tcp - option listen-port 9350 - option auth.addr.brick.allow * - subvolumes brick -end-volume diff --git a/378/regr/spec_files/server2.vol b/378/regr/spec_files/server2.vol deleted file mode 100644 index dec26b8..0000000 --- a/378/regr/spec_files/server2.vol +++ /dev/null @@ -1,23 +0,0 @@ -volume posix - type storage/posix - option directory /share/tickets/309/regr/export/export2 -end-volume - -volume locks - type features/locks - subvolumes posix -end-volume - -volume brick - type performance/io-threads - option thread-count 8 - subvolumes locks -end-volume - -volume server - type protocol/server - option transport-type tcp - option listen-port 9351 - option auth.addr.brick.allow * - subvolumes brick -end-volume diff --git a/378/regr/spec_files/server3.vol b/378/regr/spec_files/server3.vol deleted file mode 100644 index d3f27d2..0000000 --- a/378/regr/spec_files/server3.vol +++ /dev/null @@ -1,23 +0,0 @@ -volume posix - type storage/posix - option directory /share/tickets/309/regr/export/export3 -end-volume - -volume locks - type features/locks - subvolumes posix -end-volume - -volume brick - type performance/io-threads - option thread-count 8 - subvolumes locks -end-volume - -volume server - type protocol/server - option transport-type tcp - option listen-port 9352 - option auth.addr.brick.allow * - subvolumes brick -end-volume
\ No newline at end of file diff --git a/378/regr/spec_files/server4.vol b/378/regr/spec_files/server4.vol deleted file mode 100644 index 9f6c56b..0000000 --- a/378/regr/spec_files/server4.vol +++ /dev/null @@ -1,23 +0,0 @@ -volume posix - type storage/posix - option directory /share/tickets/309/regr/export/export4 -end-volume - -volume locks - type features/locks - subvolumes posix -end-volume - -volume brick - type performance/io-threads - option thread-count 8 - subvolumes locks -end-volume - -volume server - type protocol/server - option transport-type tcp - option listen-port 9353 - option auth.addr.brick.allow * - subvolumes brick -end-volume
\ No newline at end of file diff --git a/378/regr/testcase b/378/regr/testcase deleted file mode 100755 index 6f80348..0000000 --- a/378/regr/testcase +++ /dev/null @@ -1,40 +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="# (309) In replicate set-up when exnihilate.sh is run , client crashes" -comments="In replicate set-up when exnihilate.sh is run , client crashes" - -source ../../init - -start_glusterfs - -touch $MOUNTDIR/client1/dot 2> ERROR_MSG - -cat ERROR_MSG - -if [ $( cat ERROR_MSG | grep 'transport endpoint not connected' | wc -l) -ne 0 ] -then - not_ok $description - comment $comments -else - ok $description -fi - -rm -f ERROR_MSG -cleanup_glusterfs
\ No newline at end of file diff --git a/383/regr/spec_files/client1.vol b/383/regr/spec_files/client1.vol deleted file mode 100644 index dc7aa6f..0000000 --- a/383/regr/spec_files/client1.vol +++ /dev/null @@ -1,37 +0,0 @@ -volume remote1 - type protocol/client - option transport-type tcp - option remote-host 127.0.0.1 - option remote-port 1500 - option remote-subvolume brick -end-volume - - -volume remote2 - type protocol/client - option transport-type tcp - option remote-host 127.0.0.1 - option remote-port 1600 - option remote-subvolume brick -end-volume - -volume remote3 - type protocol/client - option transport-type tcp - option remote-host 127.0.0.1 - option remote-port 1700 - option remote-subvolume brick -end-volume - -volume remote4 - type protocol/client - option transport-type tcp - option remote-host 127.0.0.1 - option remote-port 1800 - option remote-subvolume brick -end-volume - -volume replicate - type cluster/replicate - subvolumes remote1 remote2 remote3 remote4 -end-volume diff --git a/383/regr/spec_files/server1.vol b/383/regr/spec_files/server1.vol deleted file mode 100644 index 59afab9..0000000 --- a/383/regr/spec_files/server1.vol +++ /dev/null @@ -1,24 +0,0 @@ -volume posix - type storage/posix - option directory /gluster/err1 -end-volume - -volume locks - type features/locks - subvolumes posix -end-volume - - -volume brick - type performance/io-threads - option thread-count 8 - subvolumes locks -end-volume - -volume server - type protocol/server - option transport-type tcp - option transport.socket.listen-port 1500 - option auth.addr.brick.allow * - subvolumes brick -end-volume diff --git a/383/regr/spec_files/server2.vol b/383/regr/spec_files/server2.vol deleted file mode 100644 index f3de066..0000000 --- a/383/regr/spec_files/server2.vol +++ /dev/null @@ -1,23 +0,0 @@ -volume posix - type storage/posix - option directory /gluster/err2 -end-volume - -volume locks - type features/locks - subvolumes posix -end-volume - -volume brick - type performance/io-threads - option thread-count 8 - subvolumes locks -end-volume - -volume server - type protocol/server - option transport-type tcp - option listen-port 1600 - option auth.addr.brick.allow * - subvolumes brick -end-volume diff --git a/383/regr/spec_files/server3.vol b/383/regr/spec_files/server3.vol deleted file mode 100644 index 7462c48..0000000 --- a/383/regr/spec_files/server3.vol +++ /dev/null @@ -1,23 +0,0 @@ -volume posix - type storage/posix - option directory /gluster/err3 -end-volume - -volume locks - type features/locks - subvolumes posix -end-volume - -volume brick - type performance/io-threads - option thread-count 8 - subvolumes locks -end-volume - -volume server - type protocol/server - option transport-type tcp - option listen-port 1700 - option auth.addr.brick.allow * - subvolumes brick -end-volume diff --git a/383/regr/spec_files/server4.vol b/383/regr/spec_files/server4.vol deleted file mode 100644 index 314f206..0000000 --- a/383/regr/spec_files/server4.vol +++ /dev/null @@ -1,23 +0,0 @@ -volume posix - type storage/posix - option directory /gluster/err4 -end-volume - -volume locks - type features/locks - subvolumes posix -end-volume - -volume brick - type performance/io-threads - option thread-count 8 - subvolumes locks -end-volume - -volume server - type protocol/server - option transport-type tcp - option listen-port 1800 - option auth.addr.brick.allow * - subvolumes brick -end-volume diff --git a/383/regr/testcase b/383/regr/testcase deleted file mode 100755 index 869903c..0000000 --- a/383/regr/testcase +++ /dev/null @@ -1,38 +0,0 @@ -#!/bin/bash -# -# Copyright (c) 2006-2010 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="# (383) glusterfs server crash on 2.0.8" -comments="glusterfs server crash on 2.0.8" - -source ../../init - -start_glusterfs - -touch $MOUNTDIR/client1/dot 2> ERROR_MSG - -if [ $( cat ERROR_MSG | grep 'transport endpoint not connected' | wc -l) -ne 0 ] -then - not_ok $description - comment $comments -else - ok $description -fi - -rm -f ERROR_MSG -cleanup_glusterfs diff --git a/42/regr/spec_files/client1.vol b/42/regr/spec_files/client1.vol deleted file mode 100644 index 26a56ad..0000000 --- a/42/regr/spec_files/client1.vol +++ /dev/null @@ -1,12 +0,0 @@ -volume remote1 - type protocol/client - option transport-type tcp - option remote-host 127.0.0.1 - option remote-port 9329 - option username user2 - option password system - option remote-subvolume brick -end-volume - - - diff --git a/42/regr/spec_files/server1.vol b/42/regr/spec_files/server1.vol deleted file mode 100644 index da706a8..0000000 --- a/42/regr/spec_files/server1.vol +++ /dev/null @@ -1,26 +0,0 @@ -volume posix - type storage/posix - option directory /jbod/regr/42/export1 -end-volume - -volume locks - type features/locks - subvolumes posix -end-volume - -volume brick - type performance/io-threads - option thread-count 8 - subvolumes locks -end-volume - -volume server - type protocol/server - option transport-type tcp - option listen-port 9329 - option auth.addr.brick.allow * - option auth.login.brick.allow user1 - option auth.login.user1.password system - subvolumes brick -end-volume - diff --git a/42/regr/testcase b/42/regr/testcase deleted file mode 100755 index 5c13e1c..0000000 --- a/42/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/>. - -bugid=$(pwd | cut -d '/' -f 4) - -description="# ($bugid) auth.login and auth.addr cannot be used in conjunction with each other" -comments="# It is addr only authentication when both login & addr are both specified" - -source ../../init -start_glusterfs - -sleep 5 - -if [ $(mount | grep "$MOUNTDIR/client1" | wc -l) -ne 0 ];then - not_ok $description - comment $comments -else - ok $description -fi - -cleanup_glusterfs diff --git a/445/regr/spec_files/client1.vol b/445/regr/spec_files/client1.vol deleted file mode 100644 index 3af2442..0000000 --- a/445/regr/spec_files/client1.vol +++ /dev/null @@ -1,23 +0,0 @@ -volume remote1 - type protocol/client - option transport-type tcp/client - option remote-port 9352 - option remote-host 127.0.0.1 - option remote-subvolume brick -end-volume - -volume remote2 - type protocol/client - option transport-type tcp/client - option remote-port 9353 - option remote-host 127.0.0.1 - option remote-subvolume brick -end-volume - - -volume replica - type cluster/replicate - subvolumes remote1 remote2 -end-volume - - diff --git a/445/regr/spec_files/server1.vol b/445/regr/spec_files/server1.vol deleted file mode 100644 index 3c92afd..0000000 --- a/445/regr/spec_files/server1.vol +++ /dev/null @@ -1,23 +0,0 @@ -volume posix - type storage/posix - option directory /home/laks/workpath/regression/445/regr/export/export1 -end-volume - -volume locks - type features/locks - subvolumes posix -end-volume - -volume brick - type performance/io-threads - option thread-count 8 - subvolumes locks -end-volume - -volume server - type protocol/server - option transport-type tcp/server - option listen-port 9352 - option auth.addr.brick.allow * - subvolumes brick -end-volume diff --git a/445/regr/spec_files/server2.vol b/445/regr/spec_files/server2.vol deleted file mode 100644 index c7c89dd..0000000 --- a/445/regr/spec_files/server2.vol +++ /dev/null @@ -1,23 +0,0 @@ -volume posix - type storage/posix - option directory /home/laks/workpath/regression/445/regr/export/export2 -end-volume - -volume locks - type features/locks - subvolumes posix -end-volume - -volume brick - type performance/io-threads - option thread-count 8 - subvolumes locks -end-volume - -volume server - type protocol/server - option transport-type tcp/server - option listen-port 9353 - option auth.addr.brick.allow * - subvolumes brick -end-volume diff --git a/445/regr/testcase b/445/regr/testcase deleted file mode 100755 index 5b90126..0000000 --- a/445/regr/testcase +++ /dev/null @@ -1,32 +0,0 @@ -#!/bin/bash - -description="# Bug 445 - Transport endpoint is not connected " -comments="# Touching a file works, writing actual data to it doesn't." - - -source ../../init - -start_glusterfs - -sleep 2 -echo "this is file content" > $MOUNTDIR/client1/testing.txt - -retval=$? - - - -if [ $retval -eq 0 ] -then - ok $description - comment $comments - -else - not_ok $description - comment $comments - -fi - - -rm $MOUNTDIR/client1/testing.txt >/dev/null -cleanup_glusterfs - diff --git a/5/regr/spec_files/client1.vol b/5/regr/spec_files/client1.vol deleted file mode 100644 index 5f63507..0000000 --- a/5/regr/spec_files/client1.vol +++ /dev/null @@ -1,10 +0,0 @@ -volume remote1 - type protocol/client - option transport-type socket - option address-family inet - option remote-host 127.0.0.1 - option remote-port 9302 - option remote-subvolume brick -end-volume - - diff --git a/5/regr/spec_files/server1.vol b/5/regr/spec_files/server1.vol deleted file mode 100644 index a6e782c..0000000 --- a/5/regr/spec_files/server1.vol +++ /dev/null @@ -1,24 +0,0 @@ -volume posix - type storage/posix - option directory /share/tickets/5/regr/export/export1 -end-volume - -volume locks - type features/locks - subvolumes posix -end-volume - -volume brick - type performance/io-threads - option thread-count 8 - subvolumes locks -end-volume - -volume server - type protocol/server - option transport-type tcp - option listen-port 9302 - option auth.addr.brick.allow * - subvolumes brick -end-volume - diff --git a/5/regr/testcase b/5/regr/testcase deleted file mode 100755 index 5c1d803..0000000 --- a/5/regr/testcase +++ /dev/null @@ -1,35 +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="# (5) mount.glusterfs script does not support TRACE log level" -comments="#TRACE log level" - -source ../../init - -start_glusterfs --no-clients - -if [ $(mount -t glusterfs-$VERSION -o defaults,noatime,nodiratime,log-file=$LOGDIR/$(hostname)-client1.log,log-level=TRACE $SPECDIR/client1.vol $MOUNTDIR/client1 | wc -l) -ne 0 ] -then - not_ok $description - comment $comments -else - ok $description -fi - -cleanup_glusterfs diff --git a/547/regr/spec_files/client1.vol b/547/regr/spec_files/client1.vol deleted file mode 100644 index c948c41..0000000 --- a/547/regr/spec_files/client1.vol +++ /dev/null @@ -1,28 +0,0 @@ -volume remote1 - type protocol/client - option transport-type tcp/client - option remote-port 9352 - option remote-host 127.0.0.1 - option remote-subvolume brick -end-volume - -volume remote2 - type protocol/client - option transport-type tcp/client - option remote-port 9353 - option remote-host 127.0.0.1 - option remote-subvolume brick -end-volume - - -volume replica - type cluster/replicate - subvolumes remote1 remote2 -end-volume - - -volume write-behind - type performance/write-behind - option enable-trickling-writes on - subvolumes replica -end-volume diff --git a/547/regr/spec_files/server1.vol b/547/regr/spec_files/server1.vol deleted file mode 100644 index 34aa383..0000000 --- a/547/regr/spec_files/server1.vol +++ /dev/null @@ -1,23 +0,0 @@ -volume posix - type storage/posix - option directory /home/laks/workpath/regression/547/regr/export/export1 -end-volume - -volume locks - type features/locks - subvolumes posix -end-volume - -volume brick - type performance/io-threads - option thread-count 8 - subvolumes locks -end-volume - -volume server - type protocol/server - option transport-type tcp/server - option listen-port 9352 - option auth.addr.brick.allow * - subvolumes brick -end-volume diff --git a/547/regr/spec_files/server2.vol b/547/regr/spec_files/server2.vol deleted file mode 100644 index 7efc5de..0000000 --- a/547/regr/spec_files/server2.vol +++ /dev/null @@ -1,23 +0,0 @@ -volume posix - type storage/posix - option directory /home/laks/workpath/regression/547/regr/export/export2 -end-volume - -volume locks - type features/locks - subvolumes posix -end-volume - -volume brick - type performance/io-threads - option thread-count 8 - subvolumes locks -end-volume - -volume server - type protocol/server - option transport-type tcp/server - option listen-port 9353 - option auth.addr.brick.allow * - subvolumes brick -end-volume diff --git a/547/regr/testcase b/547/regr/testcase deleted file mode 100755 index 771617c..0000000 --- a/547/regr/testcase +++ /dev/null @@ -1,35 +0,0 @@ -#!/bin/bash - -description="# Bug 547 - write-behind enable-trickling-writes working" -comments="# size and time are not changed at all, regardless of whether enable-trickling-writes is on or off. " - - -source ../../init - -start_glusterfs - -sleep 2 -n=1; (while [ $n -lt 23421 ]; do echo -n i; ((n+=1)) ; done) > $MOUNTDIR/client1/testing.txt & - -filesize1=$(stat -c '%s' $EXPORTDIR/export1/testing.txt) -sleep 1 -filesize2=$(stat -c '%s' $EXPORTDIR/export2/testing.txt) -sleep 1 -filesize3=$(stat -c '%s' $EXPORTDIR/export1/testing.txt) - -if [ $filesize1 -ne $filesize2 ] && [ $filesize2 -ne $filesize3 ] -then - ok $description - comment $comments - -else - not_ok $description - comment $comments - -fi - -sleep 20 - -rm $MOUNTDIR/client1/testing.txt >/dev/null -cleanup_glusterfs - diff --git a/571/regr/spec_files/client1.vol b/571/regr/spec_files/client1.vol deleted file mode 100755 index e75c7bb..0000000 --- a/571/regr/spec_files/client1.vol +++ /dev/null @@ -1,53 +0,0 @@ -volume remote1 - type protocol/client - option transport-type tcp - option remote-host 127.0.0.1 - option remote-port 1500 - option remote-subvolume brick -end-volume - - -volume remote2 - type protocol/client - option transport-type tcp - option remote-host 127.0.0.1 - option remote-port 1600 - option remote-subvolume brick -end-volume - -volume remote3 - type protocol/client - option transport-type tcp - option remote-host 127.0.0.1 - option remote-port 1700 - option remote-subvolume brick -end-volume - -volume remote4 - type protocol/client - option transport-type tcp - option remote-host 127.0.0.1 - option remote-port 1800 - option remote-subvolume brick -end-volume - -volume replicate1 - type cluster/replicate - subvolumes remote1 remote2 -end-volume - -volume replicate2 - type cluster/replicate - subvolumes remote3 remote4 -end-volume - -volume dht - type cluster/distribute - subvolumes replicate1 replicate2 -end-volume - -volume wb - type performance/write-behind - option cache-size 120KB - subvolumes dht -end-volume
\ No newline at end of file diff --git a/571/regr/spec_files/server1.vol b/571/regr/spec_files/server1.vol deleted file mode 100755 index 59afab9..0000000 --- a/571/regr/spec_files/server1.vol +++ /dev/null @@ -1,24 +0,0 @@ -volume posix - type storage/posix - option directory /gluster/err1 -end-volume - -volume locks - type features/locks - subvolumes posix -end-volume - - -volume brick - type performance/io-threads - option thread-count 8 - subvolumes locks -end-volume - -volume server - type protocol/server - option transport-type tcp - option transport.socket.listen-port 1500 - option auth.addr.brick.allow * - subvolumes brick -end-volume diff --git a/571/regr/spec_files/server2.vol b/571/regr/spec_files/server2.vol deleted file mode 100755 index f3de066..0000000 --- a/571/regr/spec_files/server2.vol +++ /dev/null @@ -1,23 +0,0 @@ -volume posix - type storage/posix - option directory /gluster/err2 -end-volume - -volume locks - type features/locks - subvolumes posix -end-volume - -volume brick - type performance/io-threads - option thread-count 8 - subvolumes locks -end-volume - -volume server - type protocol/server - option transport-type tcp - option listen-port 1600 - option auth.addr.brick.allow * - subvolumes brick -end-volume diff --git a/571/regr/spec_files/server3.vol b/571/regr/spec_files/server3.vol deleted file mode 100755 index 7462c48..0000000 --- a/571/regr/spec_files/server3.vol +++ /dev/null @@ -1,23 +0,0 @@ -volume posix - type storage/posix - option directory /gluster/err3 -end-volume - -volume locks - type features/locks - subvolumes posix -end-volume - -volume brick - type performance/io-threads - option thread-count 8 - subvolumes locks -end-volume - -volume server - type protocol/server - option transport-type tcp - option listen-port 1700 - option auth.addr.brick.allow * - subvolumes brick -end-volume diff --git a/571/regr/spec_files/server4.vol b/571/regr/spec_files/server4.vol deleted file mode 100755 index 314f206..0000000 --- a/571/regr/spec_files/server4.vol +++ /dev/null @@ -1,23 +0,0 @@ -volume posix - type storage/posix - option directory /gluster/err4 -end-volume - -volume locks - type features/locks - subvolumes posix -end-volume - -volume brick - type performance/io-threads - option thread-count 8 - subvolumes locks -end-volume - -volume server - type protocol/server - option transport-type tcp - option listen-port 1800 - option auth.addr.brick.allow * - subvolumes brick -end-volume diff --git a/571/regr/testcase b/571/regr/testcase deleted file mode 100755 index d4efea3..0000000 --- a/571/regr/testcase +++ /dev/null @@ -1,41 +0,0 @@ -#!/bin/bash -# -# Copyright (c) 2006-2010 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="# (571) find -type l ignores symlinks on GlusterFS" -comments="find -type l ignores symlinks on GlusterFS" - -source ../../init - -start_glusterfs - -mkdir -p $MOUNTDIR/client1/test -ln -s $MOUNTDIR/client1/test/nonex $MOUNTDIR/client1/test/abs - - -if [ $( find . -type l | wc -l ) -eq 0 ] -then - not_ok $description - comment $comments -else - ok $description -fi - -rm -rf $MOUNTDIR/client1/test - -cleanup_glusterfs
\ No newline at end of file diff --git a/574/regr/spec_files/client1.vol b/574/regr/spec_files/client1.vol deleted file mode 100755 index e75c7bb..0000000 --- a/574/regr/spec_files/client1.vol +++ /dev/null @@ -1,53 +0,0 @@ -volume remote1 - type protocol/client - option transport-type tcp - option remote-host 127.0.0.1 - option remote-port 1500 - option remote-subvolume brick -end-volume - - -volume remote2 - type protocol/client - option transport-type tcp - option remote-host 127.0.0.1 - option remote-port 1600 - option remote-subvolume brick -end-volume - -volume remote3 - type protocol/client - option transport-type tcp - option remote-host 127.0.0.1 - option remote-port 1700 - option remote-subvolume brick -end-volume - -volume remote4 - type protocol/client - option transport-type tcp - option remote-host 127.0.0.1 - option remote-port 1800 - option remote-subvolume brick -end-volume - -volume replicate1 - type cluster/replicate - subvolumes remote1 remote2 -end-volume - -volume replicate2 - type cluster/replicate - subvolumes remote3 remote4 -end-volume - -volume dht - type cluster/distribute - subvolumes replicate1 replicate2 -end-volume - -volume wb - type performance/write-behind - option cache-size 120KB - subvolumes dht -end-volume
\ No newline at end of file diff --git a/574/regr/spec_files/server1.vol b/574/regr/spec_files/server1.vol deleted file mode 100755 index 59afab9..0000000 --- a/574/regr/spec_files/server1.vol +++ /dev/null @@ -1,24 +0,0 @@ -volume posix - type storage/posix - option directory /gluster/err1 -end-volume - -volume locks - type features/locks - subvolumes posix -end-volume - - -volume brick - type performance/io-threads - option thread-count 8 - subvolumes locks -end-volume - -volume server - type protocol/server - option transport-type tcp - option transport.socket.listen-port 1500 - option auth.addr.brick.allow * - subvolumes brick -end-volume diff --git a/574/regr/spec_files/server2.vol b/574/regr/spec_files/server2.vol deleted file mode 100755 index f3de066..0000000 --- a/574/regr/spec_files/server2.vol +++ /dev/null @@ -1,23 +0,0 @@ -volume posix - type storage/posix - option directory /gluster/err2 -end-volume - -volume locks - type features/locks - subvolumes posix -end-volume - -volume brick - type performance/io-threads - option thread-count 8 - subvolumes locks -end-volume - -volume server - type protocol/server - option transport-type tcp - option listen-port 1600 - option auth.addr.brick.allow * - subvolumes brick -end-volume diff --git a/574/regr/spec_files/server3.vol b/574/regr/spec_files/server3.vol deleted file mode 100755 index 7462c48..0000000 --- a/574/regr/spec_files/server3.vol +++ /dev/null @@ -1,23 +0,0 @@ -volume posix - type storage/posix - option directory /gluster/err3 -end-volume - -volume locks - type features/locks - subvolumes posix -end-volume - -volume brick - type performance/io-threads - option thread-count 8 - subvolumes locks -end-volume - -volume server - type protocol/server - option transport-type tcp - option listen-port 1700 - option auth.addr.brick.allow * - subvolumes brick -end-volume diff --git a/574/regr/spec_files/server4.vol b/574/regr/spec_files/server4.vol deleted file mode 100755 index 314f206..0000000 --- a/574/regr/spec_files/server4.vol +++ /dev/null @@ -1,23 +0,0 @@ -volume posix - type storage/posix - option directory /gluster/err4 -end-volume - -volume locks - type features/locks - subvolumes posix -end-volume - -volume brick - type performance/io-threads - option thread-count 8 - subvolumes locks -end-volume - -volume server - type protocol/server - option transport-type tcp - option listen-port 1800 - option auth.addr.brick.allow * - subvolumes brick -end-volume diff --git a/574/regr/testcase b/574/regr/testcase deleted file mode 100755 index 11c7cde..0000000 --- a/574/regr/testcase +++ /dev/null @@ -1,37 +0,0 @@ -#!/bin/bash -# -# Copyright (c) 2006-2010 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="# (574) Sticky bit files are not listed in the output of ls on a dht volume" -comments="Sticky bit files are not listed in the output of ls on a dht volume" - -source ../../init - -start_glusterfs - -cp /bin/ksh $MOUNTDIR/client1 - -if [ $( ls -l $MOUNTDIR/client1 | wc -l ) -ne 0 ] -then - ok $description -else - not_ok $description - comment $comments -fi - -cleanup_glusterfs
\ No newline at end of file diff --git a/579/regr/spec_files/client1.vol b/579/regr/spec_files/client1.vol deleted file mode 100644 index e75c7bb..0000000 --- a/579/regr/spec_files/client1.vol +++ /dev/null @@ -1,53 +0,0 @@ -volume remote1 - type protocol/client - option transport-type tcp - option remote-host 127.0.0.1 - option remote-port 1500 - option remote-subvolume brick -end-volume - - -volume remote2 - type protocol/client - option transport-type tcp - option remote-host 127.0.0.1 - option remote-port 1600 - option remote-subvolume brick -end-volume - -volume remote3 - type protocol/client - option transport-type tcp - option remote-host 127.0.0.1 - option remote-port 1700 - option remote-subvolume brick -end-volume - -volume remote4 - type protocol/client - option transport-type tcp - option remote-host 127.0.0.1 - option remote-port 1800 - option remote-subvolume brick -end-volume - -volume replicate1 - type cluster/replicate - subvolumes remote1 remote2 -end-volume - -volume replicate2 - type cluster/replicate - subvolumes remote3 remote4 -end-volume - -volume dht - type cluster/distribute - subvolumes replicate1 replicate2 -end-volume - -volume wb - type performance/write-behind - option cache-size 120KB - subvolumes dht -end-volume
\ No newline at end of file diff --git a/579/regr/spec_files/server1.vol b/579/regr/spec_files/server1.vol deleted file mode 100644 index 59afab9..0000000 --- a/579/regr/spec_files/server1.vol +++ /dev/null @@ -1,24 +0,0 @@ -volume posix - type storage/posix - option directory /gluster/err1 -end-volume - -volume locks - type features/locks - subvolumes posix -end-volume - - -volume brick - type performance/io-threads - option thread-count 8 - subvolumes locks -end-volume - -volume server - type protocol/server - option transport-type tcp - option transport.socket.listen-port 1500 - option auth.addr.brick.allow * - subvolumes brick -end-volume diff --git a/579/regr/spec_files/server2.vol b/579/regr/spec_files/server2.vol deleted file mode 100644 index f3de066..0000000 --- a/579/regr/spec_files/server2.vol +++ /dev/null @@ -1,23 +0,0 @@ -volume posix - type storage/posix - option directory /gluster/err2 -end-volume - -volume locks - type features/locks - subvolumes posix -end-volume - -volume brick - type performance/io-threads - option thread-count 8 - subvolumes locks -end-volume - -volume server - type protocol/server - option transport-type tcp - option listen-port 1600 - option auth.addr.brick.allow * - subvolumes brick -end-volume diff --git a/579/regr/spec_files/server3.vol b/579/regr/spec_files/server3.vol deleted file mode 100644 index 7462c48..0000000 --- a/579/regr/spec_files/server3.vol +++ /dev/null @@ -1,23 +0,0 @@ -volume posix - type storage/posix - option directory /gluster/err3 -end-volume - -volume locks - type features/locks - subvolumes posix -end-volume - -volume brick - type performance/io-threads - option thread-count 8 - subvolumes locks -end-volume - -volume server - type protocol/server - option transport-type tcp - option listen-port 1700 - option auth.addr.brick.allow * - subvolumes brick -end-volume diff --git a/579/regr/spec_files/server4.vol b/579/regr/spec_files/server4.vol deleted file mode 100644 index 314f206..0000000 --- a/579/regr/spec_files/server4.vol +++ /dev/null @@ -1,23 +0,0 @@ -volume posix - type storage/posix - option directory /gluster/err4 -end-volume - -volume locks - type features/locks - subvolumes posix -end-volume - -volume brick - type performance/io-threads - option thread-count 8 - subvolumes locks -end-volume - -volume server - type protocol/server - option transport-type tcp - option listen-port 1800 - option auth.addr.brick.allow * - subvolumes brick -end-volume diff --git a/579/regr/testcase b/579/regr/testcase deleted file mode 100755 index 697993e..0000000 --- a/579/regr/testcase +++ /dev/null @@ -1,35 +0,0 @@ -#!/bin/bash -# -# Copyright (c) 2006-2010 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="# (579) write-behind cache-size less than 128KB leads to error" -comments="write-behind cache-size less than 128KB leads to error" - -source ../../init - -start_glusterfs - -if [ $( grep 'cannot be more than window-size(131072)' $LOGDIR/$(hostname)-client1.log | wc -l ) -ne 0 ] -then - not_ok $description - comment $comments -else - ok $description -fi - -cleanup_glusterfs
\ No newline at end of file diff --git a/639/regr/spec_files/client1.vol b/639/regr/spec_files/client1.vol deleted file mode 100644 index 72d8df7..0000000 --- a/639/regr/spec_files/client1.vol +++ /dev/null @@ -1,14 +0,0 @@ -volume client1 - type protocol/client - option transport-type tcp - option remote-host 127.0.0.1 - option transport.socket.remote-port 7777 - option remote-subvolume brick1 -end-volume - -volume writebehind - type performance/write-behind - option cache-size 4MB - option flush-behind on - subvolumes client1 -end-volume
\ No newline at end of file diff --git a/639/regr/spec_files/server1.vol b/639/regr/spec_files/server1.vol deleted file mode 100644 index ccaa925..0000000 --- a/639/regr/spec_files/server1.vol +++ /dev/null @@ -1,38 +0,0 @@ -volume posix1 - type storage/posix - option directory /home/raghu/work/git.regression/639/regr/export/export1 -end-volume - - -volume locks - type features/posix-locks - subvolumes posix1 -end-volume - -volume iot - type performance/io-threads - option thread-count 8 - subvolumes locks -end-volume - -volume writebehind - type performance/write-behind - option cache-size 4MB - subvolumes iot -end-volume - -volume brick1 - type performance/read-ahead - option page-count 4 - option force-atime-update off - subvolumes writebehind -end-volume - -volume server - type protocol/server - option transport-type tcp - option transport.socket.listen-port 7777 - subvolumes brick1 - option auth.addr.brick1.allow * -end-volume - diff --git a/639/regr/testcase b/639/regr/testcase deleted file mode 100755 index 7af0c6f..0000000 --- a/639/regr/testcase +++ /dev/null @@ -1,33 +0,0 @@ -#!/bin/bash - -description="# Write-behind at serverside causes data corruption" -comments="# Write-behind translator loaded in server volfile causes data corruption" - - -source ../../init - -start_glusterfs - -sleep 2 - -cd $MOUNTDIR/client1 -dd if=/dev/urandom of=$MOUNTDIR/random bs=1M count=10 2>1 1>/dev/null -dd if=$MOUNTDIR/random of=$MOUNTDIR/client1/random bs=1M count=10 2>1 1>/dev/null -gfs_md5sum=$(md5sum $MOUNTDIR/client1/random | cut -f 1 -d" ") -other_md5sum=$(md5sum $MOUNTDIR/random | cut -f 1 -d" ") - -if [ $gfs_md5sum == $other_md5sum ] ; then - ok $description - comment $comments -else - not_ok $description - comment $comments -fi - -rm $MOUNTDIR/random >/dev/null -rm $MOUNTDIR/client1/random >/dev/null - -cd - >/dev/null - -cleanup_glusterfs - diff --git a/8/regr/spec_files/server1.vol b/8/regr/spec_files/server1.vol deleted file mode 100755 index 2b73c9d..0000000 --- a/8/regr/spec_files/server1.vol +++ /dev/null @@ -1,8 +0,0 @@ -# **** server1 spec file **** - -### Export volume "brick" with the contents of "/home/export" directory. -volume posix1 - type storage/posix # POSIX FS translator - option directory /home/raghu/work/regression.git/8/regr/export/export1 # Export this directory -end-volume - diff --git a/8/regr/testcase b/8/regr/testcase deleted file mode 100755 index 574aebd..0000000 --- a/8/regr/testcase +++ /dev/null @@ -1,27 +0,0 @@ -#!/bin/bash - -description="# Incorrect PID printed in the glusterfs log header" -comments="# The log header prints the pre-daemon pid which does not match the pid seen if we do a ps." - - -source ../../init - -start_glusterfs --no-servers --no-clients - -sleep 2 - -$($GLUSTERFS --run-id regr.c.$BUGID -f $SPECDIR/server1.vol -l $LOGDIR/$(hostname)-server1.log --pid-file=$PWD/server1.pid) - - -if [ $(cat server1.pid) == $(cat $LOGDIR/$(hostname)-server1.log | grep PID | cut -d":" -f2) ] ; then - ok $description - comment $comments -else - not_ok $description - comment $comments -fi - - -cleanup_glusterfs - -rm *.pid >/dev/null |