4 desc="unlink may return EPERM if the named file is a directory"
13 expect 0 mkdir ${n0} 0755
14 todo Linux "According to POSIX: EPERM - The file named by path is a directory, and either the calling process does not have appropriate privileges, or the implementation prohibits using unlink() on directories."
15 expect "0|EPERM" unlink ${n0}
16 expect "0|ENOENT" rmdir ${n0}