summary refs log tree commit diff stats
path: root/python
diff options
context:
space:
mode:
authorAlex Bennée <alex.bennee@linaro.org>2019-06-03 16:14:24 +0100
committerAlex Bennée <alex.bennee@linaro.org>2019-06-12 17:53:22 +0100
commitfcf112317c6c5eaa816a010a701efeaebc5baf60 (patch)
tree1caa3f80babf70df822d2a73d2b6ec8d18bfb024 /python
parent8c79b288513587e960b6b7257a9d955d5592f209 (diff)
downloadfocaccia-qemu-fcf112317c6c5eaa816a010a701efeaebc5baf60.tar.gz
focaccia-qemu-fcf112317c6c5eaa816a010a701efeaebc5baf60.zip
tests/tcg: better detect truncated reads
If we've truncated a wider read we can detect the condition earlier by
looking at the number of zeros we've read. So we don't trip up on
cases where we have written zeros to the start of the buffer we also
ensure we only start each offset read from the right address.

Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Diffstat (limited to 'python')
0 files changed, 0 insertions, 0 deletions