]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
qa/workunits: corrected issues with RBD cli test 14460/head
authorJason Dillaman <dillaman@redhat.com>
Tue, 11 Apr 2017 15:18:29 +0000 (11:18 -0400)
committerJason Dillaman <dillaman@redhat.com>
Tue, 11 Apr 2017 15:18:29 +0000 (11:18 -0400)
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
qa/workunits/rbd/cli_generic.sh

index 8e2a429a76a941416397cb1638d57af77ba513ca..c9773477a1502137d30d13ab94063a39059b449f 100755 (executable)
@@ -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