From: Dongsheng Yang Date: Sun, 25 Dec 2016 02:57:34 +0000 (-0500) Subject: qa: add a test for rbd rm NOT_EXIST X-Git-Tag: v12.0.1~282^2~8 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=4447340e8d674f238a9cb364e64afdef65bca8e8;p=ceph.git qa: add a test for rbd rm NOT_EXIST Signed-off-by: Dongsheng Yang --- diff --git a/qa/workunits/rbd/copy.sh b/qa/workunits/rbd/copy.sh index bb6066acb3ce4..84cacd405dc9f 100755 --- a/qa/workunits/rbd/copy.sh +++ b/qa/workunits/rbd/copy.sh @@ -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$"