modify test_inotify.c