summaryrefslogtreecommitdiffstats
path: root/tests/bugs/gfapi/bug-1093594.sh
blob: 444319b8e63b492e31b94b22f0bdce04f9e129b4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/bin/bash
. $(dirname $0)/../../include.rc
. $(dirname $0)/../../volume.rc

cleanup;

## Start and create a volume
TEST glusterd;
TEST pidof glusterd;
TEST $CLI volume info;

TEST $CLI volume create $V0 $H0:$B0/${V0}{1,2};
TEST $CLI volume start $V0;
logdir=`gluster --print-logdir`

build_tester $(dirname $0)/bug-1093594.c -lgfapi
TEST $(dirname $0)/bug-1093594 $V0 $logdir/bug-1093594.log

cleanup_tester $(dirname $0)/bug-1093594
cleanup;