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

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

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

TEST $CLI volume create $V0 $H0:$B0/brick1 $H0:$B1/brick1;
EXPECT 'Created' volinfo_field $V0 'Status';

TEST $CLI volume start $V0;
EXPECT 'Started' volinfo_field $V0 'Status';

TEST $CLI volume profile $V0 start
TEST $CLI volume profile $V0 info
TEST $CLI volume replace-brick $V0 $H0:$B0/brick1 $H0:$B0/brick2 start
TEST $CLI volume replace-brick $V0 $H0:$B0/brick1 $H0:$B0/brick2 status

cleanup;