diff options
author | Raghavendra Bhat <raghavendrabhat@gluster.com> | 2011-03-07 23:36:28 -0800 |
---|---|---|
committer | Vijay Bellur <vijay@gluster.com> | 2011-03-15 18:06:17 +0530 |
commit | ff62dce1d7171ba3c400f5e391a865ca53bf3904 (patch) | |
tree | cf5421b9634261b985192b1ff5463f7bd6246c6e /dvm/2294 | |
parent | 7ed2ddd37ed29f800567f0cb23c8cd2eea35fdbe (diff) |
changes for regression framework and functions for mounting
Diffstat (limited to 'dvm/2294')
-rwxr-xr-x | dvm/2294/testcase | 19 |
1 files changed, 3 insertions, 16 deletions
diff --git a/dvm/2294/testcase b/dvm/2294/testcase index 58eeae0..c363897 100755 --- a/dvm/2294/testcase +++ b/dvm/2294/testcase @@ -1,22 +1,9 @@ #!/bin/bash - -source ./init source ./regression_helpers -GLUSTERD_DIR=$(dirname $GLUSTERD); -mkdir $EXPORT_DIR/$global_bug_id/; - -$GLUSTERD_DIR/gluster volume create vol transport tcp,rdma $(hostname):$EXPORT_DIR/$global_bug_id/export1 2>/dev/null 1>/dev/null - -if [ $? -ne 0 ]; then - echo -n "$global_bug_id: " - not_ok; -else - echo -n "$global_bug_id: " - ok; -fi +VOLNAME="vol"; +$GLUSTERFSDIR/gluster volume create $VOLNAME transport tcp,rdma $(hostname):$EXPORT_DIR/$global_bug_id/export1 2>/dev/null 1>/dev/null +exit $?; -test_kill; -test_cleanup; |