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)
Sat, Jan 31, 2:43 AM
Unknown Object (File)
Thu, Jan 22, 6:00 PM
Unknown Object (File)
Thu, Jan 22, 5:57 PM
Unknown Object (File)
Thu, Jan 22, 5:16 PM
Unknown Object (File)
Sat, Jan 17, 12:23 PM
Unknown Object (File)
Wed, Jan 14, 5:55 PM
Unknown Object (File)
Wed, Jan 14, 12:20 PM
Unknown Object (File)
Wed, Jan 14, 11:29 AM
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