Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 6a33f58a authored by Gustavo Padovan's avatar Gustavo Padovan Committed by android-build-merger
Browse files

libsync: tests: redefine PollOnDestroyedTimeline() am: 801492b8

am: 7b982408

Change-Id: I21e0e3f2fbd6d87a7b654b9415cd4694bac60b0c
parents 9445716a 7b982408
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -364,8 +364,7 @@ TEST(FenceTest, PollOnDestroyedTimeline) {
            struct pollfd fds;
            fds.fd = fenceKill.getFd();
            fds.events = POLLIN | POLLERR;
            ASSERT_EQ(poll(&fds, 1, -1), 1);
            ASSERT_TRUE(fds.revents & POLLERR);
            ASSERT_EQ(poll(&fds, 1, 0), 0);
        }
    };