test/crypto: change failure condition check
authorHemant Agrawal <hemant.agrawal@nxp.com>
Tue, 1 Oct 2019 11:41:18 +0000 (17:11 +0530)
committerAkhil Goyal <akhil.goyal@nxp.com>
Wed, 9 Oct 2019 09:50:12 +0000 (11:50 +0200)
commit0f44e7b7aa56f92d9bb383ddbabb2602a7e5619b
tree9bc9c883cdb23e866705f43f4c2c4e40bee000cf
parentf9ee2da6b99dad4cdfc9b95935102ee2508ee098
test/crypto: change failure condition check

In some of the cases, the test is looking for a specific
failure returned from the CryptoDev. Not all cryptodev
support returning specific errors.
This patch changes such checks to NOT-SUCCESS

Signed-off-by: Hemant Agrawal <hemant.agrawal@nxp.com>
Acked-by: Akhil Goyal <akhil.goyal@nxp.com>
app/test/test_cryptodev.c