fix test case: poll can't use for file descriptor on most platform