svn commit: r272903 - head/contrib/netbsd-tests/lib/libc/gen
Garrett Cooper
ngie at FreeBSD.org
Fri Oct 10 19:02:03 UTC 2014
Author: ngie
Date: Fri Oct 10 19:02:02 2014
New Revision: 272903
URL: https://svnweb.freebsd.org/changeset/base/272903
Log:
FreeBSD returns ENOTTY instead of EBADF in ttyname_r; mark it as an expected
failure
PR: 191936
In collaboration with: pho
Sponsored by: EMC / Isilon Storage Division
Modified:
head/contrib/netbsd-tests/lib/libc/gen/t_ttyname.c
Modified: head/contrib/netbsd-tests/lib/libc/gen/t_ttyname.c
==============================================================================
--- head/contrib/netbsd-tests/lib/libc/gen/t_ttyname.c Fri Oct 10 18:59:18 2014 (r272902)
+++ head/contrib/netbsd-tests/lib/libc/gen/t_ttyname.c Fri Oct 10 19:02:02 2014 (r272903)
@@ -107,6 +107,9 @@ ATF_TC_BODY(ttyname_r_err, tc)
ATF_REQUIRE(rv == ERANGE);
}
+#if defined(__FreeBSD__)
+ atf_tc_expect_fail("FreeBSD returns ENOTTY instead of EBADF; see bin/191936");
+#endif
rv = ttyname_r(-1, buf, ttymax);
ATF_REQUIRE(rv == EBADF);
More information about the svn-src-all
mailing list