summaryrefslogtreecommitdiffstats
path: root/tests/bugs/bug-864506.t
blob: c281f3811247bc79f9879d3f3ab1af2eb29e4744 (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
25
26
27
28
29
30
31
32
33
#!/bin/bash

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

cleanup;


TEST glusterd
TEST pidof glusterd
TEST $CLI volume create $V0 $H0:$B0/brick0
TEST $CLI volume start $V0

TEST "mkdir $B0/slave"

TEST "$CLI volume geo-replication $V0 $B0/slave start --xml | xmllint --format -"

TEST "$CLI volume geo-replication $V0 $B0/slave2 start --xml | xmllint --format -"

TEST "$CLI volume geo-replication status --xml | xmllint --format -"

TEST "$CLI volume geo-replication $V0 $B0/slave status --xml | xmllint --format -"

TEST "$CLI volume geo-replication $V0 $B0/slave2 status --xml | xmllint --format -"

TEST "$CLI volume geo-replication $V0 $B0/slave stop --xml | xmllint --format -"

TEST "$CLI volume geo-replication $V0 $B0/slave2 stop --xml | xmllint --format -"

TEST $CLI volume stop $V0

TEST "rmdir $B0/slave"

cleanup;