drm-smoke-test: Explicitly set-up the output name DRM test

In case we have multiple outputs let's us choose the first output,
rather use the last one, which would happen when multiple are present in
the system.

Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
This commit is contained in:
Marius Vlad 2022-12-01 11:53:10 +02:00 committed by Daniel Stone
parent 1e16a5eb2d
commit a67f434f59

View File

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