summaryrefslogtreecommitdiffstats
path: root/tests/bugs/glusterd/bug-1199451-op-version-retrieving-fix.t
blob: 43661b67628cc20ff38824c5bf4d1a0e50fb4b43 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/bin/bash

## Test case for BZ-1199451 (gluster command should retrieve current op-version
## of the NODE)

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

cleanup;

## Start glusterd
TEST glusterd
TEST pidof glusterd

## Lets create and start volume
TEST $CLI volume create $V0 $H0:$B0/brick1 $H0:$B0/brick2
TEST $CLI volume start $V0

## glusterd command should retrieve current op-version of the node
TEST $CLI volume get $V0 cluster.op-version

cleanup;