Skip to content

Commit d2dd2df

Browse files
Fix linux dll test
- poll() returns 0 or >0 on success Signed-off-by: Mateusz Hoppe <[email protected]>
1 parent 6594119 commit d2dd2df

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

opencl/test/unit_test/linux/main_linux_dll.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -553,7 +553,7 @@ TEST(SysCalls, WhenSysCallsPollCalledThenCallIsRedirectedToOs) {
553553
pollFd.events = 0;
554554

555555
auto result = NEO::SysCalls::poll(&pollFd, 1, 0);
556-
EXPECT_EQ(0, result);
556+
EXPECT_LE(0, result);
557557
}
558558

559559
TEST(SysCalls, WhenSysCallsFstatCalledThenCallIsRedirectedToOs) {

0 commit comments

Comments
 (0)