tests: drm-smoke: Stop hardcoding output name to Virtual-1

On certain setups - notably virtual machines - the output name can
be already taken (by e.g. virtio).
Given that we only use a single output for the test, do what other
tests do and don't assume any name.

Signed-off-by: Robert Mader <robert.mader@collabora.com>
This commit is contained in:
Robert Mader 2025-09-09 13:21:14 +02:00
parent 516e86222f
commit 67de2a1967

View file

@ -94,7 +94,7 @@ TEST(drm_screenshot_no_damage) {
*/
for (i = 0; i < 5; i++) {
ret = verify_screen_content(client, "drm_screenshot_no_damage",
0, NULL, i, "Virtual-1");
0, NULL, i, NULL);
test_assert_true(ret);
}