test/ring: validate single element enqueue/dequeue
authorFeifei Wang <feifei.wang2@arm.com>
Sun, 20 Sep 2020 11:48:54 +0000 (06:48 -0500)
committerDavid Marchand <david.marchand@redhat.com>
Wed, 23 Sep 2020 09:23:10 +0000 (11:23 +0200)
commitf68c206639520c23edb0885416886607d1b8402c
treeda0014543ad9c52e9d38f4664a3bdaa9962d8b8e
parentc570da3671d5d1b80c41c994e6672066c6e5b4a6
test/ring: validate single element enqueue/dequeue

Validate the return value of single element enqueue/dequeue operation in
the test.

Suggested-by: Honnappa Nagarahalli <honnappa.nagarahalli@arm.com>
Signed-off-by: Feifei Wang <feifei.wang2@arm.com>
Reviewed-by: Phil Yang <phil.yang@arm.com>
Reviewed-by: Honnappa Nagarahalli <honnappa.nagarahalli@arm.com>
Acked-by: Konstantin Ananyev <konstantin.ananyev@intel.com>
app/test/test_ring.c