-
Based on the tests provided by Song with the following adjustments: - #includes cleaned up - making sure all resources used during tests have are cleaned up - Switched to CLOCK_MONOTONIC for time measurement __cobalt_event_wait sets the time mode to XN_ABSOLUTE, so we have to use CLOCK_MONOTONIC for comparisons - Adding a testcase for calling event_wait64 with a zero timeout, which should come back immediately with EWOULDBLOCK/EAGAIN While at it: Adding a missing cobalt_monitor_destroy() in test_sc_cobalt_monitor_wait64 Signed-off-by: Florian Bezdeka <florian.bezdeka@siemens.com> Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
4482d31c