summary refs log tree commit diff stats
path: root/hw/misc/max111x.c
diff options
context:
space:
mode:
authorMarkus Armbruster <armbru@redhat.com>2019-11-25 14:38:46 +0100
committerLaurent Vivier <laurent@vivier.eu>2019-12-18 12:28:44 +0100
commit877e2cfb4c7daa62db827dff802d8ae282caf2d7 (patch)
tree04728c2aa312a356e66e7104e4cae23f19b48e51 /hw/misc/max111x.c
parent369276ebf3cbba419653a19a01b790f3bcf3aea7 (diff)
downloadfocaccia-qemu-877e2cfb4c7daa62db827dff802d8ae282caf2d7.tar.gz
focaccia-qemu-877e2cfb4c7daa62db827dff802d8ae282caf2d7.zip
test-keyval: Tighten test of trailing crap after size
test_keyval_visit_size() should test for trailing crap after size with
and without suffix.  It does test the latter: "sz2=16Gi" has size
"16G" followed by crap "i".  It fails to test the former "sz1=16E" is
a syntactically valid size that overflows uint64_t.  Replace by
"sz1=0Z".

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Message-Id: <20191125133846.27790-3-armbru@redhat.com>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
Diffstat (limited to 'hw/misc/max111x.c')
0 files changed, 0 insertions, 0 deletions