blob: 17eb3c65b12c49b7a564d7f70b97c3c0a9375b50 (
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
|
#!/bin/bash
# Test if only a single xml document is generated by 'status all'
# when a volume is not started
. $(dirname $0)/../include.rc
cleanup;
TEST glusterd
TEST $CLI volume create ${V0}1 $H0:$B0/${V0}1{1,2}
TEST $CLI volume create ${V0}2 $H0:$B0/${V0}2{1,2}
TEST $CLI volume start ${V0}1
function test_status_all ()
{
$CLI volume status all --xml | xmllint -format -
}
TEST test_status_all
TEST $CLI volume stop ${V0}1
cleanup
|