test_api_base: add a Fiemap module check
authorArtem Bityutskiy <artem.bityutskiy@intel.com>
Fri, 23 Nov 2012 10:24:55 +0000 (12:24 +0200)
committerArtem Bityutskiy <artem.bityutskiy@intel.com>
Fri, 23 Nov 2012 11:22:18 +0000 (13:22 +0200)
commit57460c176239a3980f97c51af264999ad611f7c8
tree7d86c727dc7b5476de01234a9623dd3c565a5ef6
parent18ee3c969f4a00d850f929cdad07901cf318405f
test_api_base: add a Fiemap module check

This patch improves tesst coverage by checking the sparse file. Namely,
when we create the random  sparse file, we remember where the holes are. Then
we make sure that Fiemap reports absolutely the same holes.

Change-Id: I2cf97bcf3de456b09b4138cec9be3255c88ee22e
tests/test_api_base.py