Add security fuzzy tests and improve pyocf api

Fuzzy tests added for:
changing cache mode
attaching cache device with fuzzed cache line size
setting cleaning policy
setting alru params
setting acp params
setting seq cut off policy per cache
setting seq cut off policy per core
This commit is contained in:
Kamil Lepek
2019-04-16 13:44:47 +02:00
parent 057777e91d
commit d55195ecf5
8 changed files with 331 additions and 47 deletions

View File

@@ -15,7 +15,6 @@ def print_buffer(buf, length, offset=0, width=16, stop_after_zeros=0):
for addr in range(offset, end, width):
cur_line = buf[addr : min(end, addr + width)]
all_zeros = True
byteline = ""
asciiline = ""
if not any(cur_line):