diff options
author | Raghavendra Bhat <raghavendrabhat@gluster.com> | 2011-09-06 19:43:11 +0530 |
---|---|---|
committer | Raghavendra Bhat <raghavendrabhat@gluster.com> | 2011-09-06 19:43:11 +0530 |
commit | 8904b7e4958f886afc48108504bd558703930b48 (patch) | |
tree | 7c38efd9f9ebb0024a1019b931f51fd0b9498f40 /dvm/1532 | |
parent | b1f10e01c5db3cba20144e43ad9d68b5e22b02d2 (diff) |
some changes in the regression framework and testcases for some bugs
Diffstat (limited to 'dvm/1532')
-rwxr-xr-x | dvm/1532/testcase | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/dvm/1532/testcase b/dvm/1532/testcase new file mode 100755 index 0000000..11e5f44 --- /dev/null +++ b/dvm/1532/testcase @@ -0,0 +1,14 @@ +#!/bin/bash +source $cwd/regression_helpers + +VOLNAME="vol$global_bug_id"; + +USAGE_INFO=`$GLUSTERFSDIR/gluster volume create $VOLNAME replica 2 | grep 'Usage:' | wc -l` + +if [ "$USAGE_INFO" -eq "1" ]; then + RET="0"; +else + RET="1"; +fi + +exit $RET; |