test/crypto: fix device number
authorAnkur Dwivedi <adwivedi@marvell.com>
Thu, 30 Jul 2020 11:20:17 +0000 (16:50 +0530)
committerAkhil Goyal <akhil.goyal@nxp.com>
Wed, 14 Oct 2020 19:06:56 +0000 (21:06 +0200)
commitff56727b4fae5841ec0c214223e71e78511b5687
treec9cd890844f5d3e0fea870d8559ae7257298f93b
parentd26ec0d90e8bc4489b1338a48af0023a53e3edb3
test/crypto: fix device number

In testsuite_setup(), ts_params is configured for first valid device.
The same device should be used as valid device in
test_device_configure_invalid_dev_id test case.

Fixes: 202d375c60bc ("app/test: add cryptodev unit and performance tests")
Cc: stable@dpdk.org
Signed-off-by: Ankur Dwivedi <adwivedi@marvell.com>
Acked-by: Fan Zhang <roy.fan.zhang@intel.com>
app/test/test_cryptodev.c