Clarify test descriptions in test_suite_memory_buffer_alloc #310

Merged
gilles-peskine-arm merged 3 commits from memory_buffer_alloc-fatal-pass into development 2019-11-26 11:52:25 -06:00
gilles-peskine-arm commented 2019-10-31 09:12:20 -05:00 (Migrated from github.com)

One test case prints "FATAL: verification of first header failed". This is actually expected because the test case deliberately sets up a heap that can't have a valid first header. Clarify that in the test description and in the code. Fix #309.

I also removed some spurious dependencies on MBEDTLS_MEMORY_DEBUG in that test suite. I'm not touching the test scripts: that's out of scope and memory_buffer_alloc is only minimally maintained so doesn't deserve extra testing.

Should be backported to Mbed TLS LTS branches.

One test case prints "FATAL: verification of first header failed". This is actually expected because the test case deliberately sets up a heap that can't have a valid first header. Clarify that in the test description and in the code. Fix #309. I also removed some spurious dependencies on `MBEDTLS_MEMORY_DEBUG` in that test suite. I'm not touching the test scripts: that's out of scope and memory_buffer_alloc is only minimally maintained so doesn't deserve extra testing. Should be backported to Mbed TLS LTS branches.
AndrzejKurek (Migrated from github.com) approved these changes 2019-11-05 02:58:05 -06:00
dgreen-arm (Migrated from github.com) approved these changes 2019-11-26 11:14:52 -06:00
gilles-peskine-arm commented 2019-11-26 11:41:27 -06:00 (Migrated from github.com)
Passing CI run: https://jenkins-internal.mbed.com/job/mbed-crypto-pr/job/PR-310-merge/9/
gilles-peskine-arm commented 2019-11-26 11:52:08 -06:00 (Migrated from github.com)
Backports: https://github.com/ARMmbed/mbedtls/pull/2936 https://github.com/ARMmbed/mbedtls/pull/2937
Sign in to join this conversation.
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
gh-ARMmbed/mbed-crypto!310
No description provided.