4 Commits

Author SHA1 Message Date
Imre Deak
70afbead46 tests/prime_self_import: add subtest to export/import a second gem buffer
Also add a subtest for the fd=handle_to_fd(), fd2=dup(fd), close(fd)
case (idea from Kristian Høgsberg).

Signed-off-by: Imre Deak <imre.deak@intel.com>

v2:
- add a new subtest instead of modifying the original test (Daniel)
- add a new subtest for testing dup (Kristian)
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2013-04-17 22:40:13 +02:00
Daniel Vetter
c832aa1714 tests: fixup prime test paranoia 2012-07-23 11:25:47 +02:00
Daniel Vetter
5d9e22366b tests/prime: more paranoia
- check the old contents first in check_bo
- drop all GEM handles for the re-import test
2012-07-23 10:06:25 +02:00
Daniel Vetter
6bc22e3dfd tests: add basic re-importing prime test
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2012-07-23 09:52:10 +02:00