diff options
Diffstat (limited to 'tests/cluster.rc')
| -rw-r--r-- | tests/cluster.rc | 16 | 
1 files changed, 16 insertions, 0 deletions
diff --git a/tests/cluster.rc b/tests/cluster.rc index 6fd74bc8ba4..d210ca2932e 100644 --- a/tests/cluster.rc +++ b/tests/cluster.rc @@ -154,3 +154,19 @@ function cluster_volinfo_field()      local field=$3;      eval  \$CLI_$1  volume info $vol | grep "^$field: " | sed 's/.*: //';  } + +function volinfo_field_1() +{ +    local vol=$1; +    local field=$2; + +    $CLI_1 volume info $vol | grep "^$field: " | sed 's/.*: //'; +} + +function volinfo_field_2() +{ +    local vol=$1; +    local field=$2; + +    $CLI_2 volume info $vol | grep "^$field: " | sed 's/.*: //'; +}  | 
