]> git.ipfire.org Git - thirdparty/qemu.git/commitdiff
tests/avocado/machine_s390_ccw_virtio: Adapt test to new default resolution
authorThomas Huth <thuth@redhat.com>
Mon, 21 Feb 2022 10:19:33 +0000 (11:19 +0100)
committerThomas Huth <thuth@redhat.com>
Fri, 25 Feb 2022 12:31:37 +0000 (13:31 +0100)
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>
tests/avocado/machine_s390_ccw_virtio.py

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