]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
qa/workunits/rbd: remove temporary image exports
authorJason Dillaman <dillaman@redhat.com>
Mon, 27 Jun 2016 17:01:13 +0000 (13:01 -0400)
committerJason Dillaman <dillaman@redhat.com>
Thu, 11 Aug 2016 15:28:19 +0000 (11:28 -0400)
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
(cherry picked from commit 45498d04990861a034e2aad69a93658e018c991a)

qa/workunits/rbd/rbd_mirror_stress.sh

index a8561eed9d8d7990406f6dc7beb0e6a16c3a61f2..a0e34913066b860beac2c05e259ca565e5e811fd 100755 (executable)
@@ -37,6 +37,7 @@ compare_image_snaps()
     rbd --cluster ${CLUSTER2} -p ${pool} export ${image}@${snap_name} ${rmt_export}
     rbd --cluster ${CLUSTER1} -p ${pool} export ${image}@${snap_name} ${loc_export}
     cmp ${rmt_export} ${loc_export}
+    rm -f ${rmt_export} ${loc_export}
 }
 
 wait_for_pool_healthy()