summaryrefslogtreecommitdiffstats
path: root/dvm/1534/testcase
blob: 6a3cc1fb1afd935cd8a95d4a2ff0020d7b46b23e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/bash
source $cwd/regression_helpers

VOLNAME="vol$global_bug_id";

COUNT=`$GLUSTERFSDIR/gluster volume create $VOLNAME replica 1 $(hostname):$EXPORT_DIR/$global_bug_id/export1 | grep 'replica count should be greater than 1' | wc -l`

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

exit $RET;