summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rwxr-xr-xtests/basic.t8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/basic.t b/tests/basic.t
index c2b381c..9d01154 100755
--- a/tests/basic.t
+++ b/tests/basic.t
@@ -39,7 +39,7 @@ function cleanup()
echo -e "\nRunning test cleanup ..."
# Block delete
- gluster-block delete ${BLKNAME} volume ${VOLNAME}
+ gluster-block delete ${VOLNAME}/${BLKNAME}
gluster --mode=script vol stop ${VOLNAME}
gluster --mode=script vol del ${VOLNAME}
@@ -77,12 +77,12 @@ TEST systemctl restart gluster-blockd.service
sleep 1;
# Block create
-TEST gluster-block create ${BLKNAME} volume ${VOLNAME} size 1GiB mpath 1 servers ${HOST}
+TEST gluster-block create ${VOLNAME}/${BLKNAME} ha 1 ${HOST} 1GiB
# Block list
-TEST gluster-block list volume ${VOLNAME}
+TEST gluster-block list ${VOLNAME}
# Block info
-TEST gluster-block info ${BLKNAME} volume ${VOLNAME}
+TEST gluster-block info ${VOLNAME}/${BLKNAME}
cleanup;