summaryrefslogtreecommitdiffstats
path: root/dvm/2976/testcase
blob: 489175280c83d33c2125480c173dec5ee52cb584 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/bash

source $cwd/regression_helpers

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

$GLUSTERFSDIR/gluster volume start $global_bug_id 2>/dev/null 1>/dev/null;

$GLUSTERFSDIR/gluster volume set $global_bug_id cache-min-file-size 20MB 2>/dev/null 1>/dev/null;

status=$?

if [ $status -eq 0 ]; then
    exit 0;
else
    exit 1;
fi