Skip to content

Commit

Permalink
fix nasa#699 format printf correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
zanzaben committed Dec 29, 2020
1 parent d698a4d commit 32cca0f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/tests/select-test/select-test.c
Original file line number Diff line number Diff line change
Expand Up @@ -318,7 +318,7 @@ void TestSelectSingleRead(void)

/* Verify Outputs */
UtAssert_True(actual == expected, "OS_SelectSingle() (%ld) == OS_ERROR_TIMEOUT", (long)actual);
UtAssert_True(StateFlags == 0, "OS_SelectSingle() (%d) == None", StateFlags);
UtAssert_True(StateFlags == 0, "OS_SelectSingle() (0x%x) == None", (unsigned int)StateFlags);

status = OS_BinSemGive(bin_sem_id);

Expand Down Expand Up @@ -433,7 +433,7 @@ void TestSelectSingleWrite(void)
expected = OS_ERROR_TIMEOUT;
/* Verify Outputs */
UtAssert_True(actual == expected, "OS_SelectSingle() (%ld) == OS_ERROR_TIMEOUT", (long)actual);
UtAssert_True(StateFlags == 0, "OS_SelectSingle() (%d) == None", StateFlags);
UtAssert_True(StateFlags == 0, "OS_SelectSingle() (0x%x) == None", (unsigned int)StateFlags);

expected = OS_SUCCESS;
StateFlags = OS_STREAM_STATE_WRITABLE;
Expand Down Expand Up @@ -549,7 +549,7 @@ void TestSelectSingleFile(void)

/* Verify Outputs */
UtAssert_True(actual == expected, "OS_SelectSingle() (%ld) == OS_ERROR_TIMEOUT", (long)actual);
UtAssert_True(StateFlags == 0, "OS_SelectSingle() (%d) == None", StateFlags);
UtAssert_True(StateFlags == 0, "OS_SelectSingle() (0x%x) == None", (unsigned int)StateFlags);
}

void UtTest_Setup(void)
Expand Down

0 comments on commit 32cca0f

Please sign in to comment.