summaryrefslogtreecommitdiffstats
path: root/dvm/765590/testcase
diff options
context:
space:
mode:
Diffstat (limited to 'dvm/765590/testcase')
-rwxr-xr-xdvm/765590/testcase20
1 files changed, 20 insertions, 0 deletions
diff --git a/dvm/765590/testcase b/dvm/765590/testcase
new file mode 100755
index 0000000..8d56203
--- /dev/null
+++ b/dvm/765590/testcase
@@ -0,0 +1,20 @@
+#!/bin/bash
+
+function _init ()
+{
+ source $cwd/regression_helpers;
+}
+
+function glusterd_stripe_add ()
+{
+ $GLUSTERFSDIR/gluster volume create --mode=script $global_bug_id stripe 2 $(hostname):$EXPORT_DIR/$global_bug_id/export1 $(hostname):$EXPORT_DIR/$global_bug_id/export2 &>/dev/null;
+
+ $GLUSTERFSDIR/gluster volume add-brick $global_bug_id stripe 3 $(hostname):$EXPORT_DIR/$global_bug_id/export3 &>/dev/null;
+
+ pgrep glusterd &>/dev/null;
+ if [ $? -ne 0 ]; then
+ return 1;
+ fi
+}
+
+_init ; glusterd_stripe_add \ No newline at end of file