Avoid all caps FIONREAD as test name.

PiperOrigin-RevId: 312596169
This commit is contained in:
Jay Zhuang
2020-05-20 18:40:16 -07:00
committed by gVisor bot
parent 49d2cf287d
commit 8298c5bd4d
+3 -1
View File
@@ -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());