Page MenuHomeFreeBSD

tests/sendfile: test operation on unix/stream socket
ClosedPublic

Authored by glebius on May 2 2024, 3:07 AM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Mar 5, 1:10 PM
Unknown Object (File)
Mon, Mar 2, 3:33 AM
Unknown Object (File)
Sun, Mar 1, 11:51 PM
Unknown Object (File)
Sun, Mar 1, 6:37 AM
Unknown Object (File)
Feb 7 2026, 11:12 PM
Unknown Object (File)
Feb 7 2026, 9:07 PM
Unknown Object (File)
Jan 31 2026, 2:43 AM
Unknown Object (File)
Jan 22 2026, 6:00 PM
Subscribers

Details

Summary

Although there are already multiple tests in the tests collection
that utilize sendfile(2) support over unix/stream socket, they all
don't exercise the asynchronous part of the operation. This test
framework, however, uses a trick to toggle true async operation and
guarantee that pr_ready method of unix/stream is also tested.

Diff Detail

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