tests/avocado/machine_s390_ccw_virtio: Adapt test to new default resolution

QEMU's default screen resolution recently changed to 1280x800, so the
resolution in the screen shot header changed of course, too.

Fixes: de72c4b7cd ("edid: set default resolution to 1280x800 (WXGA)")
Reported-by: Peter Maydell <peter.maydell@linaro.org>
Message-Id: <20220221101933.307525-1-thuth@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Acked-by: Halil Pasic <pasic@linux.ibm.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
This commit is contained in:
Thomas Huth 2022-02-21 11:19:33 +01:00
parent 2092fdd97c
commit f3f230d934

View File

@ -248,7 +248,7 @@ class S390CCWVirtioMachine(QemuSystemTest):
line = ppmfile.readline() line = ppmfile.readline()
self.assertEqual(line, b"P6\n") self.assertEqual(line, b"P6\n")
line = ppmfile.readline() line = ppmfile.readline()
self.assertEqual(line, b"1024 768\n") self.assertEqual(line, b"1280 800\n")
line = ppmfile.readline() line = ppmfile.readline()
self.assertEqual(line, b"255\n") self.assertEqual(line, b"255\n")
line = ppmfile.readline(256) line = ppmfile.readline(256)