From: Abhishek Lekshmanan Date: Mon, 27 Nov 2017 18:37:13 +0000 (+0100) Subject: qa: add test for clearomap cli option X-Git-Tag: v13.0.2~542^2~1 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=83631d9bd871017394fe68c6877f330c025970d5;p=ceph.git qa: add test for clearomap cli option Fixes:http://tracker.ceph.com/issues/22255 Signed-off-by: Abhishek Lekshmanan --- diff --git a/qa/workunits/rados/test_rados_tool.sh b/qa/workunits/rados/test_rados_tool.sh index 60024c2ceed..e81e83982d7 100755 --- a/qa/workunits/rados/test_rados_tool.sh +++ b/qa/workunits/rados/test_rados_tool.sh @@ -302,6 +302,8 @@ test_omap() { $RADOS_TOOL -p $POOL rmomapkey $OBJ $i done $RADOS_TOOL -p $POOL listomapvals $OBJ | grep -c value | grep 5 + $RADOS_TOOL -p $POOL clearomap $OBJ | + $RADOS_TOOL -p $POOL listomapvals $OBJ | wc -l | grep 0 cleanup for i in $(seq 1 1 10)