summaryrefslogtreecommitdiffstats
path: root/tests/volume.rc
diff options
context:
space:
mode:
Diffstat (limited to 'tests/volume.rc')
-rw-r--r--tests/volume.rc5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/volume.rc b/tests/volume.rc
index 326654671..0f31beb48 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
+}