summaryrefslogtreecommitdiffhomepage
path: root/test/syscalls/linux/sync_file_range.cc
diff options
context:
space:
mode:
Diffstat (limited to 'test/syscalls/linux/sync_file_range.cc')
-rw-r--r--test/syscalls/linux/sync_file_range.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/syscalls/linux/sync_file_range.cc b/test/syscalls/linux/sync_file_range.cc
index ebe4ca171..d11f58481 100644
--- a/test/syscalls/linux/sync_file_range.cc
+++ b/test/syscalls/linux/sync_file_range.cc
@@ -70,6 +70,7 @@ TEST(SyncFileRangeTest, CannotSyncFileRangeOnUnopenedFd) {
TEST_PCHECK(errno == EBADF);
_exit(0);
}
+ ASSERT_THAT(pid, SyscallSucceeds());
int status = 0;
ASSERT_THAT(waitpid(pid, &status, 0), SyscallSucceedsWithValue(pid));