Skip to content

Commit

Permalink
Avoid all caps FIONREAD as test name.
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 312596169
  • Loading branch information
jayzhuang authored and gvisor-bot committed May 21, 2020
1 parent 49d2cf2 commit 8298c5b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion test/syscalls/linux/udp_socket_test_cases.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1142,7 +1142,9 @@ TEST_P(UdpSocketTest, FIONREADWriteShutdown) {
EXPECT_EQ(n, sizeof(str));
}

TEST_P(UdpSocketTest, FIONREAD) {
// NOTE: Do not use `FIONREAD` as test name because it will be replaced by the
// corresponding macro and become `0x541B`.
TEST_P(UdpSocketTest, Fionread) {
// Bind s_ to loopback:TestPort.
ASSERT_THAT(bind(s_, addr_[0], addrlen_), SyscallSucceeds());

Expand Down

0 comments on commit 8298c5b

Please sign in to comment.