From: Jason Dillaman Date: Tue, 11 Apr 2017 15:18:29 +0000 (-0400) Subject: qa/workunits: corrected issues with RBD cli test X-Git-Tag: v12.0.2~96^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=15e5b8e3dc1007944360f66e2110baf5fb3af1b5;p=ceph.git qa/workunits: corrected issues with RBD cli test Signed-off-by: Jason Dillaman --- diff --git a/qa/workunits/rbd/cli_generic.sh b/qa/workunits/rbd/cli_generic.sh index 8e2a429a76a..c9773477a15 100755 --- a/qa/workunits/rbd/cli_generic.sh +++ b/qa/workunits/rbd/cli_generic.sh @@ -46,6 +46,7 @@ test_others() { rbd info --snap=snap1 testimg1 | grep 'size 256 MB' # export-diff + rm -rf /tmp/diff-testimg1-1 /tmp/diff-testimg1-2 rbd export-diff testimg1 --snap=snap1 /tmp/diff-testimg1-1 rbd export-diff testimg1 --from-snap=snap1 /tmp/diff-testimg1-2 @@ -90,7 +91,7 @@ test_others() { rbd info testimg1 | grep 'size 256 MB' rbd info testimg-diff1 | grep 'size 256 MB' rbd export testimg1 /tmp/img1.snap1 - rbd export testimg-diif1 /tmp/img-diff1.snap1 + rbd export testimg-diff1 /tmp/img-diff1.snap1 cmp /tmp/img2 /tmp/img1.snap1 cmp /tmp/img2 /tmp/img-diff1.snap1