Commit aaeaca77 authored by Daniel Vetter's avatar Daniel Vetter

tests/gem_flink_race: check for expected flink failure code

Signed-off-by: Daniel Vetter's avatarDaniel Vetter <daniel.vetter@ffwll.ch>
parent bd927662
......@@ -61,6 +61,8 @@ static void *thread_fn(void *p)
ret = ioctl(fd, DRM_IOCTL_GEM_OPEN, &open_struct);
if (ret == 0)
gem_close(fd, open_struct.handle);
else
assert(errno == ENOENT);
}
return (void *)0;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment