Skip to content

Commit c403d0e

Browse files
authored
Merge pull request #1085 from skliper/fix901-rm-ut-checkforopensockets
Fix #901, Remove UT_CheckForOpenSockets references
2 parents 9f8a776 + 483b7c0 commit c403d0e

File tree

2 files changed

+0
-19
lines changed

2 files changed

+0
-19
lines changed

fsw/cfe-core/unit-test/sb_UT.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -155,8 +155,6 @@ void UtTest_Setup(void)
155155
*/
156156
void SB_ResetUnitTest(void)
157157
{
158-
/* If any sockets were left open then report and close them */
159-
UT_CheckForOpenSockets();
160158
UT_InitData();
161159
CFE_SB_EarlyInit();
162160
} /* end SB_ResetUnitTest */

fsw/cfe-core/unit-test/ut_support.h

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -571,23 +571,6 @@ uint16 UT_GetNumEventsSent(void);
571571
******************************************************************************/
572572
void UT_DisplayPkt(CFE_MSG_Message_t *MsgPtr, size_t size);
573573

574-
/*****************************************************************************/
575-
/**
576-
** \brief Report and close any sockets found open
577-
**
578-
** \par Description
579-
** Determine if any sockets are open; if so, close them. If UT_VERBOSE
580-
** is defined then output the socket status to the test log file.
581-
**
582-
** \par Assumptions, External Events, and Notes:
583-
** None
584-
**
585-
** \returns
586-
** This function does not return a value.
587-
**
588-
******************************************************************************/
589-
void UT_CheckForOpenSockets(void);
590-
591574
/*****************************************************************************/
592575
/**
593576
** \brief Gets a reference to the CFE ES Reset Data Object

0 commit comments

Comments
 (0)