3939
3943
memcpy(ievent->name, dummy_file_name, sizeof(dummy_file_name));
3940
3944
const size_t ievent_size = (sizeof(struct inotify_event)
3941
3945
+ sizeof(dummy_file_name));
3942
g_assert_cmpint(write(pipefds[1], ievent_buffer, ievent_size),
3946
g_assert_cmpint(write(pipefds[1], (char *)ievent, ievent_size),
3944
3948
g_assert_cmpint(close(pipefds[1]), ==, 0);