etc/protocols - sync with NetBSD-8
[minix.git] / tests / kernel / t_extattrctl.c
blob2f8932e3c87e61f7c4ce8bda4bb6cd39f85bda40
1 #include <sys/types.h>
3 #include <rump/rump.h>
4 #include <rump/rump_syscalls.h>
6 #include <atf-c.h>
8 ATF_TC(extattrctl_namei);
9 ATF_TC_HEAD(extattrctl_namei, tc)
12 atf_tc_set_md_var(tc, "descr", "extattrctl namei safety (kern/43328)");
15 ATF_TC_BODY(extattrctl_namei, tc)
18 rump_init();
20 rump_sys_extattrctl("/anyfile", 0, "/", 0, 0);
23 ATF_TP_ADD_TCS(tp)
25 ATF_TP_ADD_TC(tp, extattrctl_namei);
27 return atf_no_error();