summaryrefslogtreecommitdiffstats
path: root/dvm
diff options
context:
space:
mode:
Diffstat (limited to 'dvm')
-rwxr-xr-xdvm/3616/testcase39
1 files changed, 39 insertions, 0 deletions
diff --git a/dvm/3616/testcase b/dvm/3616/testcase
new file mode 100755
index 0000000..3804f30
--- /dev/null
+++ b/dvm/3616/testcase
@@ -0,0 +1,39 @@
+#!/bin/bash
+
+function _init ()
+{
+ source $cwd/regression_helpers;
+}
+
+function dist_stripe_repl ()
+{
+ $GLUSTERFSDIR/gluster volume create --mode=script $global_bug_id stripe 2 replica 2 \
+ $(hostname):$EXPORT_DIR/$global_bug_id/export1 $(hostname):$EXPORT_DIR/$global_bug_id/export2 \
+ $(hostname):$EXPORT_DIR/$global_bug_id/export3 $(hostname):$EXPORT_DIR/$global_bug_id/export4 \
+ $(hostname):$EXPORT_DIR/$global_bug_id/export5 $(hostname):$EXPORT_DIR/$global_bug_id/export6 \
+ $(hostname):$EXPORT_DIR/$global_bug_id/export7 $(hostname):$EXPORT_DIR/$global_bug_id/export8 2>/dev/null 1>/dev/null;
+
+ pgrep glusterd 2>/dev/null 1>/dev/null;
+
+ ret=$?;
+
+ return $ret;
+}
+
+function main ()
+{
+ local ret;
+
+ dist_stripe_repl;
+
+ ret=$?;
+
+ if [ $ret -eq 0 ]; then
+ exit 0;
+ else
+ exit 1;
+ fi
+
+}
+
+_init && main "$@" \ No newline at end of file