test/event: fix unintended vdev creation
authorPavan Nikhilesh <pbhagavatula@marvell.com>
Mon, 6 Jan 2020 07:42:41 +0000 (13:12 +0530)
committerJerin Jacob <jerinj@marvell.com>
Wed, 15 Jan 2020 11:05:38 +0000 (12:05 +0100)
commit2155b9ca1a0d4aaf25d51f63034bc9357f66b96a
tree4e1fb2a6011ce92d7171c51c08f6606712ad7c38
parentf09d45db53db267f82bb445572f674a8bfab4bd1
test/event: fix unintended vdev creation

Virtual eventdevice should only be created when there is no existing
device with the same name.

Fixes: e0f4a0ed4237 ("test: skip tests when missing requirements")
Cc: stable@dpdk.org
Signed-off-by: Pavan Nikhilesh <pbhagavatula@marvell.com>
Acked-by: Jerin Jacob <jerinj@marvell.com>
app/test/test_eventdev.c