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
Unknown Object (File)
Feb 1 2024, 5:23 AM
Unknown Object (File)
Jan 9 2024, 8:34 AM
Unknown Object (File)
Dec 31 2023, 8:30 AM
Unknown Object (File)
Dec 31 2023, 8:30 AM
Unknown Object (File)
Dec 19 2023, 11:37 PM
Unknown Object (File)
Nov 22 2023, 8:58 PM
Unknown Object (File)
Nov 5 2023, 5:45 AM
Unknown Object (File)
Nov 5 2023, 5:38 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).