Skip to content

Commit

Permalink
Verify if the message displayed is correct when a volume start is att…
Browse files Browse the repository at this point in the history
…empted on a started volume

Signed-off-by: Anush Shetty <[email protected]>
  • Loading branch information
Anush Shetty authored and raghavendrabhat committed May 23, 2011
1 parent 67df3c3 commit 02318b1
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions dvm/2623/testcase
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
#!/bin/bash

source ./regression_helpers

$GLUSTERFSDIR/gluster volume create $global_bug_id $(hostname):$EXPORT_DIR/$global_bug_id/export1 2>/dev/null 1>/dev/null;

$GLUSTERFSDIR/gluster --mode=script volume start $global_bug_id 2>/dev/null 1>/dev/null;

$GLUSTERFSDIR/gluster volume start $global_bug_id | grep "alreadystarted"

if [ "$?" -eq "0" ]; then
RET="1";
else
RET="0";
fi

exit $RET;



0 comments on commit 02318b1

Please sign in to comment.