Skip to content

Commit

Permalink
Verify if the volume create help lists tcp, rdma
Browse files Browse the repository at this point in the history
Signed-off-by: Anush Shetty <[email protected]>
  • Loading branch information
Anush Shetty authored and raghavendrabhat committed May 16, 2011
1 parent 76585a0 commit 7d9d89f
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions dvm/2742/testcase
Original file line number Diff line number Diff line change
@@ -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;

0 comments on commit 7d9d89f

Please sign in to comment.