blob: 9f9db7a3df5aacd178288a0f9599fab5b6db37f7 (
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;
|