mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2025-06-10 09:26:10 +00:00
tests/gem_flink_race: check for expected flink failure code
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
This commit is contained in:
parent
bd927662fc
commit
aaeaca7720
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user