Illegal parameters and libspdm_requester_*_test_*_message
#2743
Labels
test
For tests and testing infrastructure
libspdm_requester_*_test_*_message
#2743
When testing illegal parameters on public Requester functions
libspdm_requester_*_test_send_message
andlibspdm_requester_*_test_receive_message
usually returnsLIBSPDM_STATUS_SUCCESS
for that case. However this is misleading aslibspdm_requester_*_test_*_message
should not be called for that case and it should be considered an implementation bug if it is called. For examplelibspdm/unit_test/test_spdm_requester/error_test/get_measurements_err.c
Lines 3238 to 3241 in 4b0a3c5
libspdm/unit_test/test_spdm_requester/error_test/get_measurements_err.c
Lines 148 to 149 in 4b0a3c5
assert_true(false);
should be hit before returning from the function.The text was updated successfully, but these errors were encountered: