Hi! > +#include "tst_test.h" > + > +static void run(void) > +{ > + char *symname = "my_symlink0"; > + > + SAFE_SYMLINK(tst_get_tmpdir(), symname); > + TST_EXP_FAIL(rmdir(symname), ENOTDIR); > + > + SAFE_UNLINK(symname); > +} Here as well, easily added to rmdir02 along with a few more different ENOTDIR cases. -- Cyril Hrubis chrubis@suse.cz