From 3b0f2d02a25bcdcc428086393b784ce11f4d68da Mon Sep 17 00:00:00 2001 From: xie xingguo Date: Sat, 28 May 2016 14:32:30 +0800 Subject: [PATCH] test: fix ut failure caused by rbd usage update Signed-off-by: xie xingguo --- src/test/cli/rbd/help.t | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/src/test/cli/rbd/help.t b/src/test/cli/rbd/help.t index 4848370feb4a7..991b1b761c0b1 100644 --- a/src/test/cli/rbd/help.t +++ b/src/test/cli/rbd/help.t @@ -60,6 +60,7 @@ nbd list (nbd ls) List the nbd devices already used. nbd map Map image to a nbd device. nbd unmap Unmap a nbd device. + object-map check Verify the object map is correct. object-map rebuild Rebuild an invalid object map. remove (rm) Delete an image. rename (mv) Rename image within pool. @@ -979,6 +980,23 @@ Positional arguments specify nbd device + rbd help object-map check + usage: rbd object-map check [--pool ] [--image ] [--snap ] + [--no-progress] + + + Verify the object map is correct. + + Positional arguments + image or snapshot specification + (example: [/][@]) + + Optional arguments + -p [ --pool ] arg pool name + --image arg image name + --snap arg snapshot name + --no-progress disable progress output + rbd help object-map rebuild usage: rbd object-map rebuild [--pool ] [--image ] [--snap ] [--no-progress] -- 2.39.5