Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Example: suppose I am testing a program which reads in a directory tree. I have my test driver program create a temporary directory, with multiple files and subdirectories in it. I can’t use /dev/fd for that, since it doesn’t support directories

Related example: testing a program which expects a file name to match a certain pattern; can’t do that because /dev/fd file names are just numbers



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: