diff options
Diffstat (limited to 'tests')
-rwxr-xr-x | tests/basic.t | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/basic.t b/tests/basic.t index 8514cfb..6d8aa1a 100755 --- a/tests/basic.t +++ b/tests/basic.t @@ -79,12 +79,18 @@ sleep 1; # Block create TEST gluster-block create ${VOLNAME}/${BLKNAME} ha 1 ${HOST} 1GiB +# Modify Block with auth enable +TEST gluster-block modify ${VOLNAME}/${BLKNAME} auth enable + # Block list TEST gluster-block list ${VOLNAME} # Block info TEST gluster-block info ${VOLNAME}/${BLKNAME} +# Modify Block with auth disable +TEST gluster-block modify ${VOLNAME}/${BLKNAME} auth disable + # Block delete gluster-block delete ${VOLNAME}/${BLKNAME} @@ -93,10 +99,16 @@ echo -e "\n*** JSON responses ***\n" # Block create and expect json response TEST gluster-block create ${VOLNAME}/${BLKNAME} ha 1 ${HOST} 1GiB --json-pretty +# Modify Block with auth enable and expect json response +TEST gluster-block modify ${VOLNAME}/${BLKNAME} auth enable --json-pretty + # Block list and expect json response TEST gluster-block list ${VOLNAME} --json-pretty # Block info and expect json response TEST gluster-block info ${VOLNAME}/${BLKNAME} --json-pretty +# Modify Block with auth disable and expect json response +TEST gluster-block modify ${VOLNAME}/${BLKNAME} auth disable --json-pretty + cleanup; |