Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. =================================================================== RCS file: /ftp/cvs/cvsroot/src/tests/lib/libc/sys/t_getitimer.c,v rcsdiff: /ftp/cvs/cvsroot/src/tests/lib/libc/sys/t_getitimer.c,v: warning: Unknown phrases like `commitid ...;' are present. retrieving revision 1.1 retrieving revision 1.1.2.1 diff -u -p -r1.1 -r1.1.2.1 --- src/tests/lib/libc/sys/t_getitimer.c 2011/07/07 06:57:53 1.1 +++ src/tests/lib/libc/sys/t_getitimer.c 2012/04/17 00:09:12 1.1.2.1 @@ -1,4 +1,4 @@ -/* $NetBSD: t_getitimer.c,v 1.1 2011/07/07 06:57:53 jruoho Exp $ */ +/* $NetBSD: t_getitimer.c,v 1.1.2.1 2012/04/17 00:09:12 yamt Exp $ */ /*- * Copyright (c) 2011 The NetBSD Foundation, Inc. @@ -29,7 +29,7 @@ * POSSIBILITY OF SUCH DAMAGE. */ #include -__RCSID("$NetBSD: t_getitimer.c,v 1.1 2011/07/07 06:57:53 jruoho Exp $"); +__RCSID("$NetBSD: t_getitimer.c,v 1.1.2.1 2012/04/17 00:09:12 yamt Exp $"); #include @@ -146,7 +146,8 @@ ATF_TC_BODY(setitimer_basic, tc) ATF_TC(setitimer_err); ATF_TC_HEAD(setitimer_err, tc) { - atf_tc_set_md_var(tc, "descr", "Test errors from setitimer(2)"); + atf_tc_set_md_var(tc, "descr", "Test errors from setitimer(2)" + " (PR standards/44927)"); } ATF_TC_BODY(setitimer_err, tc) @@ -159,11 +160,6 @@ ATF_TC_BODY(setitimer_err, tc) errno = 0; ATF_REQUIRE_ERRNO(EINVAL, setitimer(INT_MAX, &it, &ot) == -1); - /* - * This fails incorrectly with EPERM. - */ - atf_tc_expect_fail("PR standards/44927"); - errno = 0; ATF_REQUIRE_ERRNO(EFAULT, setitimer(ITIMER_REAL,(void*)-1, &ot) == -1); }