commit | 86e1c840ec1173badfe9f195a448c88072b2ad2a | [log] [tgz] |
---|---|---|
author | Kevin Wolf <kwolf@redhat.com> | Wed Dec 06 18:13:53 2017 +0100 |
committer | Kevin Wolf <kwolf@redhat.com> | Fri Dec 22 15:05:31 2017 +0100 |
tree | 9fbdc32480762defb8cc592c08bbb0b5e2b0e4db | |
parent | 7b6a3d35536f945c41aa62627cc295482606aa2e [diff] |
test-bdrv-drain: Test callback for bdrv_drain The existing test is for bdrv_drain_all_begin/end() only. Generalise the test case so that it can be run for the other variants as well. At the moment this is only bdrv_drain_begin/end(), but in a while, we'll add another one. Also, add a backing file to the test node to test whether the operations work recursively. Signed-off-by: Kevin Wolf <kwolf@redhat.com>