summaryrefslogtreecommitdiffstats
path: root/tests/bugs/glusterd/bug-1092841.t
blob: d3dcf07fd02a93cd796c16544a11ff003a887354 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#!/bin/bash

. $(dirname $0)/../../include.rc
. $(dirname $0)/../../volume.rc

cleanup;

TEST glusterd;
TEST pidof glusterd;
TEST $CLI volume info;

TEST $CLI volume create $V0 $H0:$B0/${V0}{1,2};

TEST $CLI volume start $V0;

TEST $CLI volume barrier $V0 enable;

TEST ! $CLI volume barrier $V0 enable;

TEST $CLI volume barrier $V0 disable;

TEST ! $CLI volume barrier $V0 disable;

cleanup