summaryrefslogtreecommitdiffstats
path: root/tests/include.rc
diff options
context:
space:
mode:
authorVijay Bellur <vbellur@redhat.com>2016-04-08 21:59:53 -0400
committerKaushal M <kaushal@redhat.com>2016-04-13 06:00:26 -0700
commit2b7ae34eff4ed00f15661cf1ca5b2ee07a1d93bd (patch)
tree48be07f9516a3a99f110e800ef3fff51c16d980d /tests/include.rc
parente1396f078aec7dee9007f35c074a90391bdaf64f (diff)
extras: Add namespace for options in group-virt.example
Commit 23ccabbeb7 introduced a new key "disperse.eager-lock" which causes a conflict with key "cluster.eager-lock" when option is used without the qualifying namespace. group-virt.example which gets installed as /var/lib/glusterd/ groups/virt contains options without namespace qualifiers. This patch adds the appropriate namespace to all options in group-virt.example. Change-Id: I2c09dd10d44138410d889ddeb805f01c641c6780 BUG: 1325630 Signed-off-by: Vijay Bellur <vbellur@redhat.com> Reviewed-on: http://review.gluster.org/13929 Reviewed-by: Pranith Kumar Karampuri <pkarampu@redhat.com> Reviewed-on: http://review.gluster.org/13958 Smoke: Gluster Build System <jenkins@build.gluster.com> Tested-by: Kaushal M <kaushal@redhat.com> CentOS-regression: Gluster Build System <jenkins@build.gluster.com> NetBSD-regression: NetBSD Build System <jenkins@build.gluster.org> Reviewed-by: Kaushal M <kaushal@redhat.com>
Diffstat (limited to 'tests/include.rc')
-rw-r--r--tests/include.rc5
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/include.rc b/tests/include.rc
index 03c9f444361..9be67de8a07 100644
--- a/tests/include.rc
+++ b/tests/include.rc
@@ -455,9 +455,10 @@ function cleanup()
;;
esac
- # remove contents of "GLUSTERD_WORKDIR" except hooks directory.
+ # remove contents of "GLUSTERD_WORKDIR" except hooks and groups
+ # directories.
find $GLUSTERD_WORKDIR/* -maxdepth 0 -name 'hooks' -prune \
- -o -exec rm -rf '{}' ';'
+ -o -name 'groups' -prune -o -exec rm -rf '{}' ';'
rm -rf $B0/* /etc/glusterd/*;