Page MenuHomeFreeBSD

contrib/netbsd-tests/lib/libc/string/t_strcpy.c: extend and enhance
AbandonedPublic

Authored by fuz on Aug 21 2023, 8:22 AM.
Tags
None
Referenced Files
F82933366: D41520.diff
Sat, May 4, 4:14 AM
Unknown Object (File)
Sat, Apr 27, 5:14 AM
Unknown Object (File)
Mon, Apr 22, 6:58 PM
Unknown Object (File)
Sat, Apr 20, 8:10 PM
Unknown Object (File)
Sat, Apr 6, 10:46 AM
Unknown Object (File)
Apr 3 2024, 8:11 AM
Unknown Object (File)
Mar 5 2024, 2:08 PM
Unknown Object (File)
Feb 16 2024, 10:07 AM
Subscribers

Details

Reviewers
ngie
Summary

Add some additional test cases to NetBSD's strcpy tests.
These were required to catch some bugs in the new stpcpy routine
presented in D41349.

Also extend the tests to permit loading an external strcpy function
and testing it over using the libc version. This was added by the
example of other tests in the test suite doing the same thing and
helped tremendously in development.

These bits were originally part of D41349 but were taken out by
@ngie's request.

Diff Detail

Repository
rG FreeBSD src repository
Lint
No Lint Coverage
Unit
No Test Coverage
Build Status
Buildable 53197
Build 50088: arc lint + arc unit

Event Timeline

fuz requested review of this revision.Aug 21 2023, 8:22 AM

Any progress with this one?

Should this still be open, given that you have done a functionally equivalent change in D41970?

In D41520#963073, @ngie wrote:

Should this still be open, given that you have done a functionally equivalent change in D41970?

The change in D41520 is about the strcmp tests, this one is about the strcpy tests. Different files, but basically the same change. I need specific approval to commit any changes as I do not have a commit bit for src.

Abandoned as per @ngie's wishes not to have too many divergences from the upstream test suite.