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