aboutsummaryrefslogtreecommitdiff
path: root/block/dirty-bitmap.c
diff options
context:
space:
mode:
authorMax Reitz <mreitz@redhat.com>2018-06-13 20:18:17 +0200
committerMax Reitz <mreitz@redhat.com>2018-06-18 17:04:56 +0200
commit269576848ec3d57d2d958cf5ac69b08c44adf816 (patch)
tree2370da1ef504dd673c1bbb364686e43a644f849b /block/dirty-bitmap.c
parenta33fbb4f8b64226becf502a123733776ce319b24 (diff)
test-hbitmap: Add non-advancing iter_next tests
Add a function that wraps hbitmap_iter_next() and always calls it in non-advancing mode first, and in advancing mode next. The result should always be the same. By using this function everywhere we called hbitmap_iter_next() before, we should get good test coverage for non-advancing hbitmap_iter_next(). Signed-off-by: Max Reitz <mreitz@redhat.com> Reviewed-by: Fam Zheng <famz@redhat.com> Reviewed-by: John Snow <jsnow@redhat.com> Message-id: 20180613181823.13618-9-mreitz@redhat.com Signed-off-by: Max Reitz <mreitz@redhat.com>
Diffstat (limited to 'block/dirty-bitmap.c')
0 files changed, 0 insertions, 0 deletions