Page MenuHomeFreeBSD

Link lib/libc/c063 tests to the build.
ClosedPublic

Authored by jilles on Jan 2 2015, 1:26 PM.
Tags
None
Referenced Files
F114591731: D1411.id2950.diff
Mon, Apr 14, 5:58 AM
F114591361: D1411.id2964.diff
Mon, Apr 14, 5:54 AM
F114590346: D1411.id2965.diff
Mon, Apr 14, 5:42 AM
Unknown Object (File)
Fri, Apr 11, 2:44 PM
Unknown Object (File)
Mar 8 2025, 11:49 AM
Unknown Object (File)
Feb 20 2025, 2:08 AM
Unknown Object (File)
Feb 18 2025, 4:07 PM
Unknown Object (File)
Feb 17 2025, 4:18 AM
Subscribers
None

Details

Summary

Some files lack required #include <sys/stat.h>.

The faccessat test fails because it tries to use AT_SYMLINK_NOFOLLOW with
faccessat(), which is not specified by POSIX.1-2008.

Test Plan

buildworld and installworld, kyua test in /usr/tests/lib/libc/c063.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

jilles retitled this revision from to Link lib/libc/c063 tests to the build..
jilles updated this object.
jilles edited the test plan for this revision. (Show Details)
jilles added reviewers: ngie, jmmv.

Thanks! Forgot to complete this..

contrib/netbsd-tests/lib/libc/c063/t_fchmodat.c
43 ↗(On Diff #2950)

Please put these if #ifdef FreeBSD #endif blocks so I don't forget to upstream them to NetBSD..

"The faccessat test fails because it tries to use AT_SYMLINK_NOFOLLOW with
faccessat(), which is not specified by POSIX.1-2008."

The testcase should either be #ifdef NetBSD'ed out, or have a block like this added to it:

#ifdef __FreeBSD__
atf_tc_expect_fail("Depends on non-standard behavior not mentioned in POSIX.1-2008");
#endif
jilles edited edge metadata.

Apply changes requested by ngie. 'kyua test' in c063/ is happy now.

ngie edited edge metadata.
This revision is now accepted and ready to land.Jan 2 2015, 10:43 PM
jilles updated this revision to Diff 2965.

Closed by commit rS276590 (authored by @jilles).