check_result() erroneously returned True or False. Drop the return value
to be consistent with the parent and related classes.
Signed-off-by: Vincent Fu <vincent.fu@samsung.com>
offset = int(tokens[4])
if offset < zonestart or offset >= zonestart + self.fio_opts['zonerange']:
print(f"Offset {offset} outside of zone starting at {zonestart}")
- return False
+ return
# skip next section if norandommap is enabled with no
# random_generator or with a random_generator != lfsr
block = (offset - zonestart) / self.fio_opts['bs']
if block in zoneset:
print(f"Offset {offset} in zone already touched")
- return False
+ return
zoneset.add(block)
if iosperzone % iosperrange == 0:
if len(zoneset) != iosperrange:
print(f"Expected {iosperrange} blocks in zone but only saw {len(zoneset)}")
- return False
+ return
zoneset = set()
- return True
-
TEST_LIST = [ # randommap enabled
{