Page MenuHomeFreeBSD

Remove tests for non-standard behaviour of dirname(3)/basename(3).
ClosedPublic

Authored by ed on Aug 15 2016, 6:04 PM.
Tags
None
Referenced Files
F82068615: D7506.id19300.diff
Thu, Apr 25, 5:29 AM
Unknown Object (File)
Tue, Apr 23, 9:36 PM
Unknown Object (File)
Sat, Apr 20, 4:10 PM
Unknown Object (File)
Fri, Apr 19, 2:08 AM
Unknown Object (File)
Sun, Apr 7, 6:07 AM
Unknown Object (File)
Mar 25 2024, 8:56 PM
Unknown Object (File)
Mar 8 2024, 12:26 AM
Unknown Object (File)
Mar 8 2024, 12:26 AM
Subscribers

Details

Summary

The NetBSD ATF tests explicitly check that these functions do not modify
their input. These tests are NetBSD-specific. They test for something
that is not part of POSIX.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

ed retitled this revision from to Remove tests for non-standard behaviour of dirname(3)/basename(3)..
ed updated this object.
ed edited the test plan for this revision. (Show Details)
ed added a reviewer: ngie.

This seems like it deserves a manpage update under CAVEATS.

contrib/netbsd-tests/lib/libc/gen/t_basedirname.c
114 ↗(On Diff #19297)

Please add #ifdef __NetBSD__ instead to reduce the diff with upstream.

165 ↗(On Diff #19297)

Same as above.

ed edited edge metadata.

Simplify patch against upstream by ifdef'ing the affected code instead.

This revision was automatically updated to reflect the committed changes.
In D7506#155968, @ed wrote:

Simplify patch against upstream by ifdef'ing the affected code instead.

Thank you :)!