summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnush Shetty <anush@gluster.com>2011-04-29 01:30:51 +0000
committerRaghavendra Bhat <raghavendrabhat@gluster.com>2011-05-16 17:51:22 +0530
commit7d9d89f6142a9b2483a9d270401554f4ad160f47 (patch)
treed89636f3018be1c3d7429b5d69ec41b39b430a1b
parent76585a0cde7ee9900ef119cdfd9e09b2cd4ba83f (diff)
Verify if the volume create help lists tcp, rdma
Signed-off-by: Anush Shetty <anush@gluster.com>
-rwxr-xr-xdvm/2742/testcase15
1 files changed, 15 insertions, 0 deletions
diff --git a/dvm/2742/testcase b/dvm/2742/testcase
new file mode 100755
index 0000000..062c144
--- /dev/null
+++ b/dvm/2742/testcase
@@ -0,0 +1,15 @@
+#!/bin/bash
+
+source ./regression_helpers
+
+VOLNAME="vol$global_bug_id";
+
+LINE=`$GLUSTERFSDIR/gluster volume create help | grep '<tcp|rdma|tcp,rdma>' | wc -l`
+
+if [ "$LINE" -eq "1" ]; then
+ RET="0";
+else
+ RET="1";
+fi
+
+exit $RET;