diff options
-rw-r--r-- | tests/volume.rc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/volume.rc b/tests/volume.rc index 32665467129..0f31beb4802 100644 --- a/tests/volume.rc +++ b/tests/volume.rc @@ -69,3 +69,8 @@ function kill_brick() brick_hiphenated=$(echo $brick | tr '/' '-') kill -9 `cat /var/lib/glusterd/vols/$vol/run/${host}${brick_hiphenated}.pid` } + +function check_option_help_presence { + option=$1 + $CLI volume set help | grep "^Option:" | grep -w $option +} |