mirror of
https://github.com/ceph/ceph
synced 2025-03-31 07:53:23 +00:00
qa: add a test for rbd rm NOT_EXIST
Signed-off-by: Dongsheng Yang <dongsheng.yang@easystack.cn>
This commit is contained in:
parent
dccb3c0045
commit
4447340e8d
@ -165,6 +165,7 @@ test_remove() {
|
||||
echo "testing remove..."
|
||||
remove_images
|
||||
|
||||
rbd remove "NOT_EXIST" && exit 1 || true # remove should fail
|
||||
rbd create --image-format 1 -s 1 test1
|
||||
rbd rm test1
|
||||
rbd ls | wc -l | grep "^0$"
|
||||
|
Loading…
Reference in New Issue
Block a user