D | SyscallsTest.cpp | 63 const auto& sys = sSyscalls.get(); in TEST_F() local 65 auto result = sys.open(kPath, kFlags, kMode); in TEST_F() 73 auto& sys = sSyscalls.get(); in TEST_F() local 82 const auto result = sys.getsockname<sockaddr_nl>(kFd); in TEST_F() 89 EXPECT_EQ(kError, sys.getsockname<sockaddr_nl>(kFd).status()); in TEST_F() 97 auto& sys = sSyscalls.get(); in TEST_F() local 102 EXPECT_EQ(status::ok, sys.setsockopt(kFd, kLevel, kOptname, expected)); in TEST_F() 108 EXPECT_EQ(kError, sys.setsockopt(kFd, kLevel, kOptname, expected)); in TEST_F() 114 auto& sys = sSyscalls.get(); in TEST_F() local 119 EXPECT_EQ(status::ok, sys.bind(kFd, expected)); in TEST_F() [all …]
|