Skip to content

Commit

Permalink
Fix nasa#954, Handle debug events in unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
skliper committed Jan 19, 2021
1 parent c7363c8 commit d1c5ab0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions fsw/cfe-core/unit-test/evs_UT.c
Original file line number Diff line number Diff line change
Expand Up @@ -2693,7 +2693,7 @@ void Test_Misc(void)
UT_TPID_CFE_EVS_CMD_WRITE_LOG_DATA_FILE_CC,
&UT_EVS_EventBuf);
UT_Report(__FILE__, __LINE__,
UT_EVS_EventBuf.EventID == 0xFFFF,
(UT_EVS_EventBuf.EventID == 0xFFFF) || (UT_EVS_EventBuf.EventID == CFE_EVS_WRLOG_EID),
"CFE_EVS_WriteLogDataFileCmd",
"Write log data - successful");

Expand All @@ -2703,7 +2703,7 @@ void Test_Misc(void)
UT_TPID_CFE_EVS_CMD_SET_LOG_MODE_CC,
&UT_EVS_EventBuf);
UT_Report(__FILE__, __LINE__,
UT_EVS_EventBuf.EventID == 0xFFFF,
(UT_EVS_EventBuf.EventID == 0xFFFF) || (UT_EVS_EventBuf.EventID == CFE_EVS_LOGMODE_EID),
"CFE_EVS_SetLogModeCmd",
"Set logging mode - successful");

Expand Down

0 comments on commit d1c5ab0

Please sign in to comment.