aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorJanne Peltonen <janne.peltonen@nokia.com>2022-04-19 12:56:48 +0300
committerPetri Savolainen <petri.savolainen@nokia.com>2022-04-20 09:27:15 +0300
commit996090fd59593e0eb91a44a4debf678bfab91f40 (patch)
tree7f16668c459cf14bf5df4a54507ed050e489e2bb /test
parent6f79aebedb89cea244e5b4b889945c3dc6e28ef6 (diff)
validation: crypto: remove odp_packet_has_error() check after crypto error
ODP API does not say that odp_packet_has_error() must return true after crypto operation errors. odp_packet_has_error() indicates various packet parsing errors and crypto operations are not parsing the packet. Remove the odp_packet_has_error() check to prevent potential test failures with API compliant ODP implementations. Signed-off-by: Janne Peltonen <janne.peltonen@nokia.com> Reviewed-by: Anoob Joseph <anoobj@marvell.com> Reviewed-by: Petri Savolainen <petri.savolainen@nokia.com>
Diffstat (limited to 'test')
-rw-r--r--test/validation/api/crypto/odp_crypto_test_inp.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/test/validation/api/crypto/odp_crypto_test_inp.c b/test/validation/api/crypto/odp_crypto_test_inp.c
index 97f721dd5..e3eff88b9 100644
--- a/test/validation/api/crypto/odp_crypto_test_inp.c
+++ b/test/validation/api/crypto/odp_crypto_test_inp.c
@@ -353,9 +353,6 @@ static int alg_packet_op(odp_packet_t pkt,
return rc;
}
- if (!result.ok)
- CU_ASSERT(odp_packet_has_error(pkt));
-
*ok = result.ok;
return 0;