mirror of
https://github.com/netbirdio/gvisor.git
synced 2026-05-22 17:12:49 -07:00
Avoid all caps FIONREAD as test name.
PiperOrigin-RevId: 312596169
This commit is contained in:
@@ -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());
|
||||
|
||||
|
||||
Reference in New Issue
Block a user