Skip to content

Commit

Permalink
HOTFIX nasa#662, add missing UT_SetDefaultReturnValue
Browse files Browse the repository at this point in the history
  • Loading branch information
astrogeco committed Dec 1, 2020
1 parent 0551368 commit a71a999
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/unit-test-coverage/vxworks/src/coveragetest-symtab.c
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,7 @@ void Test_OS_ModuleSymbolLookup_Impl(void)

OSAPI_TEST_FUNCTION_RC(OS_ModuleSymbolLookup_Impl(UT_INDEX_0, &SymAddr, "symname"), OS_SUCCESS);
OSAPI_TEST_FUNCTION_RC(OS_ModuleSymbolLookup_Impl(UT_INDEX_0, NULL, NULL), OS_INVALID_POINTER);
UT_SetForceFail(UT_KEY(OCS_symFind), OCS_ERROR);
OSAPI_TEST_FUNCTION_RC(OS_ModuleSymbolLookup_Impl(UT_INDEX_0, &SymAddr, "symname"), OS_ERROR);
UT_SetDefaultReturnValue(UT_KEY(OCS_symFind), OCS_ERROR); OSAPI_TEST_FUNCTION_RC(OS_ModuleSymbolLookup_Impl(UT_INDEX_0, &SymAddr, "symname"), OS_ERROR);
}

void Test_OS_SymTableIterator_Impl(void)
Expand Down

0 comments on commit a71a999

Please sign in to comment.