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
Unknown Object (File)
Fri, Oct 18, 12:34 AM
Unknown Object (File)
Sep 18 2024, 5:47 PM
Unknown Object (File)
Sep 18 2024, 2:54 PM
Unknown Object (File)
Sep 18 2024, 2:45 AM
Unknown Object (File)
Sep 17 2024, 6:28 PM
Unknown Object (File)
Sep 8 2024, 3:27 PM
Unknown Object (File)
Sep 4 2024, 7:41 PM
Unknown Object (File)
Aug 20 2024, 2:54 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.