]> Git Repo - qemu.git/commit
tests/acceptance: bound the size of readline in s390_ccw_virtio
authorAlex Bennée <[email protected]>
Tue, 5 Jan 2021 12:44:05 +0000 (12:44 +0000)
committerAlex Bennée <[email protected]>
Wed, 6 Jan 2021 17:30:02 +0000 (17:30 +0000)
commit93eaabde61cf048660a01dc2b5f55c061fd73e6b
treeefb3b9abdd2a4595880cc1776da11e2af93c364a
parentf4c6557bfef388628f50af35d36be85c30ab2553
tests/acceptance: bound the size of readline in s390_ccw_virtio

The read binary data as text via a PPM export of the frame buffer
seems a bit sketchy and it did blow up in the real world when the
assertion failed:

  https://gitlab.com/qemu-project/qemu/-/jobs/943183183

However short of cleaning up the test to be more binary focused at
least limit the attempt to dump the whole file as hexified zeros in
the logs.

Signed-off-by: Alex Bennée <[email protected]>
Reviewed-by: Daniel P. Berrangé <[email protected]>
Reviewed-by: Willian Rampazzo <[email protected]>
Acked-by: Halil Pasic <[email protected]>
Acked-by: Thomas Huth <[email protected]>
Message-Id: <20210105124405[email protected]>
tests/acceptance/machine_s390_ccw_virtio.py
This page took 0.020816 seconds and 4 git commands to generate.