This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "".
The branch, master has been updated via 260ca880b76151b66919cf0f3c149c2ba9ede24e (commit) from 4c4052f894b8df5784d2aae2e36b96796ee020fd (commit)
Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below.
- Log ----------------------------------------------------------------- commit 260ca880b76151b66919cf0f3c149c2ba9ede24e Author: Bill Fischofer bill.fischofer@linaro.org Date: Thu Dec 21 10:02:16 2017 -0600
test: validation: correct comparison in packet_test_ref()
Fix typo in CU_ASSERT() that used an assignment instead of a comparison in testing reference length.
This fixes Bug https://bugs.linaro.org/show_bug.cgi?id=3466
Signed-off-by: Bill Fischofer bill.fischofer@linaro.org Reviewed-by: Dmitry Eremin-Solenikov dmitry.ereminsolenikov@linaro.org Signed-off-by: Maxim Uvarov maxim.uvarov@linaro.org
diff --git a/test/validation/api/packet/packet.c b/test/validation/api/packet/packet.c index 9318dfc7..241681df 100644 --- a/test/validation/api/packet/packet.c +++ b/test/validation/api/packet/packet.c @@ -2354,7 +2354,7 @@ void packet_test_ref(void) ref_pkt[0] = odp_packet_ref(base_pkt, offset[0]); CU_ASSERT_FATAL(ref_pkt[0] != ODP_PACKET_INVALID); ref_len[0] = odp_packet_len(ref_pkt[0]); - CU_ASSERT(ref_len[0] = odp_packet_len(base_pkt) - offset[0]); + CU_ASSERT(ref_len[0] == odp_packet_len(base_pkt) - offset[0]);
CU_ASSERT(odp_packet_push_head(base_pkt, base_hr - base_hr / 2) != NULL);
-----------------------------------------------------------------------
Summary of changes: test/validation/api/packet/packet.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
hooks/post-receive