test/event: fix result of unsupported periodic timer
authorShijith Thotton <sthotton@marvell.com>
Fri, 7 May 2021 10:12:47 +0000 (15:42 +0530)
committerJerin Jacob <jerinj@marvell.com>
Sun, 9 May 2021 16:06:03 +0000 (18:06 +0200)
commit5d28b6605532a9a4e24884abb779afcecce9110b
tree137016235f3224ef9144bdfa3a4539336dc400bd
parentca90f20feaa4280cac012ebca6f2ecebd5b72b98
test/event: fix result of unsupported periodic timer

Test case setup should return -ENOTSUP, if it is not supported.

Fixes: 7d761b07fcf6 ("test/event: add unit tests for periodic timer")
Cc: stable@dpdk.org
Signed-off-by: Shijith Thotton <sthotton@marvell.com>
Acked-by: Jerin Jacob <jerinj@marvell.com>
app/test/test_event_timer_adapter.c