diff options
author | Jay Zhuang <jayzhuang@google.com> | 2020-05-20 18:37:22 -0700 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2020-05-20 18:40:16 -0700 |
commit | 8298c5bd4d1f836ee4c531a7bf04acff05d7099b (patch) | |
tree | 6962739aa112bf50acb7b885ec54303efec20c07 /test | |
parent | 49d2cf287db08b1f09f1246096cabf9c9a951039 (diff) |
Avoid all caps FIONREAD as test name.
PiperOrigin-RevId: 312596169
Diffstat (limited to 'test')
-rw-r--r-- | test/syscalls/linux/udp_socket_test_cases.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/test/syscalls/linux/udp_socket_test_cases.cc b/test/syscalls/linux/udp_socket_test_cases.cc index 4a3ae5f3f..42521efef 100644 --- a/test/syscalls/linux/udp_socket_test_cases.cc +++ b/test/syscalls/linux/udp_socket_test_cases.cc @@ -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()); |