summaryrefslogtreecommitdiff
path: root/test/hotplug-cameras.cpp
diff options
context:
space:
mode:
authorJacopo Mondi <jacopo@jmondi.org>2021-12-13 15:46:59 +0100
committerJacopo Mondi <jacopo@jmondi.org>2021-12-13 19:31:19 +0100
commit5c4f9e3ae3f06d97453e18230dc55caacb0ea6fe (patch)
treed8a3a38d9242a763b4e5dbe7a9aad152cd5d1cf5 /test/hotplug-cameras.cpp
parenta3122eeceafae4f37346ec40f24d20706473e962 (diff)
test: fence: Signal fence once
The unit test associates a fence with a framebuffer and makes sure the fence is correctly signalled. Once a fence is correctly signalled, it is released by the core, and the underlying file descriptor closed. The unit test however tries to write on the fence file descriptor every time the designated Request is queued, an error which is now visible as the return value of the fence signalling write() is checked. Fix that by associating a fence with a framebuffer only once. Signed-off-by: Jacopo Mondi <jacopo@jmondi.org> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Tested-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Umang Jain <umang.jain@ideasonboard.com>
Diffstat (limited to 'test/hotplug-cameras.cpp')
0 files changed, 0 insertions, 0 deletions