projects
/
platform
/
upstream
/
intel-gpu-tools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bd92766
)
tests/gem_flink_race: check for expected flink failure code
author
Daniel Vetter
<daniel.vetter@ffwll.ch>
Wed, 24 Jul 2013 06:01:35 +0000
(08:01 +0200)
committer
Daniel Vetter
<daniel.vetter@ffwll.ch>
Wed, 24 Jul 2013 06:01:35 +0000
(08:01 +0200)
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
tests/gem_flink_race.c
patch
|
blob
|
history
diff --git
a/tests/gem_flink_race.c
b/tests/gem_flink_race.c
index
612f39e
..
eb144ab
100644
(file)
--- a/
tests/gem_flink_race.c
+++ b/
tests/gem_flink_race.c
@@
-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;