D | SyscallsTest.cpp | 61 const auto& sys = sSyscalls.get(); in TEST_F() local 64 auto result = sys.open(kPath, kFlags, kMode); in TEST_F() 72 auto& sys = sSyscalls.get(); in TEST_F() local 81 const auto result = sys.getsockname<sockaddr_nl>(kFd); in TEST_F() 88 EXPECT_EQ(kError, sys.getsockname<sockaddr_nl>(kFd).status()); in TEST_F() 96 auto& sys = sSyscalls.get(); in TEST_F() local 101 EXPECT_EQ(status::ok, sys.setsockopt(kFd, kLevel, kOptname, expected)); in TEST_F() 107 EXPECT_EQ(kError, sys.setsockopt(kFd, kLevel, kOptname, expected)); in TEST_F() 116 auto& sys = sSyscalls.get(); in TEST_F() local 121 EXPECT_EQ(status::ok, sys.getsockopt(kFd, kLevel, kOptname, &expected, &optLen)); in TEST_F() [all …]
|