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:
d9bc787
)
tests/gem_flink_race: Kill duplicate drm_open_any
author
Daniel Vetter
<daniel.vetter@ffwll.ch>
Thu, 25 Jul 2013 20:10:51 +0000
(22:10 +0200)
committer
Daniel Vetter
<daniel.vetter@ffwll.ch>
Tue, 6 Aug 2013 19:59:55 +0000
(21:59 +0200)
Leak test that leaks ...
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
97c6e67
..
ce6f302
100644
(file)
--- a/
tests/gem_flink_race.c
+++ b/
tests/gem_flink_race.c
@@
-128,9
+128,6
@@
static void test_flink_name(void)
assert(status == 0);
}
- fd = drm_open_any();
- assert(fd >= 0);
-
close(fd);
}
@@
-186,9
+183,6
@@
static void test_flink_close(void)
assert(status == 0);
}
- fd = drm_open_any();
- assert(fd >= 0);
-
close(fd);
obj_count = get_object_count() - obj_count;