Page MenuHomeFreeBSD

tests/sys/kern/ssl_sendfile: fix the build with ATF 0.22+
ClosedPublic

Authored by ngie on Aug 31 2026, 2:47 AM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Oct 6, 9:44 PM
Unknown Object (File)
Fri, Oct 2, 7:44 PM
Unknown Object (File)
Fri, Oct 2, 6:43 PM
Unknown Object (File)
Wed, Sep 30, 8:26 PM
Unknown Object (File)
Wed, Sep 30, 5:29 PM
Unknown Object (File)
Sun, Sep 27, 10:17 AM
Unknown Object (File)
Sun, Sep 27, 12:29 AM
Unknown Object (File)
Sat, Sep 26, 12:47 PM
Subscribers

Details

Summary

Code that assigned variables as part of ATF_\* are no longer
permitted due to changes introduced in [ATF 0.22][1].

MFC after: 2 weeks
Reported by: clang/gcc (-Wparenthesis)
[1]: https://github.com/freebsd/atf/pull/72

Test Plan

The test passes after the change.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 76344
Build 73227: arc lint + arc unit

Event Timeline

ngie requested review of this revision.Aug 31 2026, 2:47 AM
ngie added a reviewer: glebius.
ngie edited the summary of this revision. (Show Details)
This revision was not accepted when it landed; it landed in state Needs Review.Sep 6 2026, 7:19 PM
This revision was automatically updated to reflect the committed changes.