tests/avocado/machine_s390_ccw_virtio: Adapt test to new default resolution
PATCH 1/1 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.
Reported-by Peter Maydell <[email protected]>
Fixes de72c4b7cd ("edid: set default resolution to 1280x800 (WXGA)")
Signed-off-by Thomas Huth <[email protected]>
--- tests/avocado/machine_s390_ccw_virtio.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
tests/avocado/machine_s390_ccw_virtio.py +1 -1
@@ -248,7 +248,7 @@ def test_s390x_fedora(self): 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)
Signature · 1 line
2.27.0
Quoted 9 lines · Thomas Huth
QEMU's default screen resolution recently changed to 1280x800, so the resolution in the screen shot header changed of course, too.
Reported-by Peter Maydell <[email protected]>Fixes de72c4b7cd ("edid: set default resolution to 1280x800 (WXGA)")Signed-off-by Thomas Huth <[email protected]>--- tests/avocado/machine_s390_ccw_virtio.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Reviewed-by Daniel P. Berrangé <[email protected]>
Regards,
Daniel
Signature · 3 lines
|: https://berrange.com -o- https://www.flickr.com/photos/dberrange :| |: https://libvirt.org -o- https://fstop138.berrange.com :| |: https://entangle-photo.org -o- https://www.instagram.com/dberrange :|
Quoted 9 lines · Thomas Huth
QEMU's default screen resolution recently changed to 1280x800, so the resolution in the screen shot header changed of course, too.
Reported-by Peter Maydell <[email protected]>Fixes de72c4b7cd ("edid: set default resolution to 1280x800 (WXGA)")Signed-off-by Thomas Huth <[email protected]>--- tests/avocado/machine_s390_ccw_virtio.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Reviewed-by Philippe Mathieu-Daudé <[email protected]>
Quoted 6 lines · On Mon, 21 Feb 2022 11:19:33 +0100 Thomas Huth <[email protected]> wrote:
QEMU's default screen resolution recently changed to 1280x800, so the resolution in the screen shot header changed of course, too.
Reported-by Peter Maydell <[email protected]>Fixes de72c4b7cd ("edid: set default resolution to 1280x800 (WXGA)")Signed-off-by Thomas Huth <[email protected]>
Looks good!
Acked-by Halil Pasic <[email protected]>
Quoted 17 lines
--- tests/avocado/machine_s390_ccw_virtio.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)tests/avocado/machine_s390_ccw_virtio.py +1
-1@@ -248,7 +248,7 @@ def test_s390x_fedora(self): 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)