Skip to content

Commit

Permalink
comment out printf to get winkernel to build
Browse files Browse the repository at this point in the history
  • Loading branch information
ProjectsByJackHe committed Nov 1, 2024
1 parent aee8df6 commit b248ef0
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
2 changes: 0 additions & 2 deletions src/platform/unittest/DataPathTest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -294,10 +294,8 @@ struct DataPathTest : public ::testing::TestWithParam<int32_t>
ASSERT_EQ(0, memcmp(RecvData->Buffer, ExpectedData, ExpectedDataSize));

if (RecvContext->TtlSupported) {
printf("!!!!!!!!!!!!!!!!!!!Datapathtest: TTL feature supported!!!!!!!!!!!!!!!!!!!\n");
ASSERT_TRUE(RecvData->HopLimitTTL > 0);
} else {
printf("!!!!!!!!!!!!!!!!!!!Datapathtest: TTL feature NOT supported!!!!!!!!!!!!!!!!!!!\n");
ASSERT_EQ(0, RecvData->HopLimitTTL);
}

Expand Down
2 changes: 0 additions & 2 deletions src/test/lib/HandshakeTest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -319,10 +319,8 @@ QuicTestConnect(

// After handshake, check and see if we have cached the TTL of the handshake packet.
if (QuitTestIsFeatureSupported(CXPLAT_DATAPATH_FEATURE_TTL)) {
printf("!!!!!!!!!!!!!!!!!!!HandshakeTest: TTL feature supported!!!!!!!!!!!!!!!!!!!\n");
TEST_TRUE(Client.GetStatistics().HandshakeHopLimitTTL > 0);
} else {
printf("!!!!!!!!!!!!!!!!!!!HandshakeTest: TTL feature NOT supported!!!!!!!!!!!!!!!!!!!\n");
TEST_EQUAL(Client.GetStatistics().HandshakeHopLimitTTL, 0);
}

Expand Down

0 comments on commit b248ef0

Please sign in to comment.