478290db20
Sources were obtained like so: % export CVSROOT="anoncvs@anoncvs.NetBSD.org:/cvsroot" % cvs -z9 co -D "09/30/2014 20:45" -P src/tests % mv src/tests/* tests/dist/. '*CVS*' has been added to svn:ignore to ease updating periodically from upstream Some line ending issues had to be resolved with test outputs and scripts via dos2unix and by deleting the eol-style property set in usr.bin/sort Discussed with: rpaulo Sponsored by: EMC / Isilon Storage Division
29 lines
428 B
C
29 lines
428 B
C
#include <sys/types.h>
|
|
|
|
#include <rump/rump.h>
|
|
#include <rump/rump_syscalls.h>
|
|
|
|
#include <atf-c.h>
|
|
|
|
ATF_TC(extattrctl_namei);
|
|
ATF_TC_HEAD(extattrctl_namei, tc)
|
|
{
|
|
|
|
atf_tc_set_md_var(tc, "descr", "extattrctl namei safety (kern/43328)");
|
|
}
|
|
|
|
ATF_TC_BODY(extattrctl_namei, tc)
|
|
{
|
|
|
|
rump_init();
|
|
|
|
rump_sys_extattrctl("/anyfile", 0, "/", 0, 0);
|
|
}
|
|
|
|
ATF_TP_ADD_TCS(tp)
|
|
{
|
|
ATF_TP_ADD_TC(tp, extattrctl_namei);
|
|
|
|
return atf_no_error();
|
|
}
|