summaryrefslogtreecommitdiffstats
path: root/dvm/1534/testcase
diff options
context:
space:
mode:
Diffstat (limited to 'dvm/1534/testcase')
-rwxr-xr-xdvm/1534/testcase14
1 files changed, 14 insertions, 0 deletions
diff --git a/dvm/1534/testcase b/dvm/1534/testcase
new file mode 100755
index 0000000..6a3cc1f
--- /dev/null
+++ b/dvm/1534/testcase
@@ -0,0 +1,14 @@
+#!/bin/bash
+source $cwd/regression_helpers
+
+VOLNAME="vol$global_bug_id";
+
+COUNT=`$GLUSTERFSDIR/gluster volume create $VOLNAME replica 1 $(hostname):$EXPORT_DIR/$global_bug_id/export1 | grep 'replica count should be greater than 1' | wc -l`
+
+if [ "$COUNT" -eq "1" ]; then
+ RET="0"
+else
+ RET="1"
+fi
+
+exit $RET;