app/test: fix check for virtual ring device
authorOlivier Matz <olivier.matz@6wind.com>
Tue, 15 Mar 2016 12:25:29 +0000 (13:25 +0100)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Thu, 24 Mar 2016 20:12:45 +0000 (21:12 +0100)
commita690da8df4ae7e6481b50d474c14e5dddc8d3dc9
treebc7877ddc9fcb4fb358b055ac5bf22c29e9c45b1
parentf632ff17a6b52e8873fb1c6e191658498994006c
app/test: fix check for virtual ring device

This test expects that a vdev is instanciated on the command
line. If it's not the case, just skip this part.

Fixes: 4ea3801b3222 ("app/test: fix ring unit test")

Signed-off-by: Olivier Matz <olivier.matz@6wind.com>
app/test/test_pmd_ring.c