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)
Mon, Jul 27, 5:25 AM
Unknown Object (File)
Sun, Jul 26, 5:56 AM
Unknown Object (File)
Fri, Jul 24, 4:32 AM
Unknown Object (File)
Thu, Jul 23, 10:48 AM
Unknown Object (File)
Sat, Jul 18, 1:23 PM
Unknown Object (File)
Tue, Jul 7, 10:41 AM
Unknown Object (File)
Sat, Jul 4, 3:25 PM
Unknown Object (File)
Wed, Jul 1, 1:48 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