summaryrefslogtreecommitdiff
path: root/integrationtests/copy_file_range_test.go
AgeCommit message (Collapse)Author
10 daystest(copy_file_range): assert TRANSFER_CLASSIFIED copied byte count end-to-endPaul Buetow
TestCopyFileRangeBasic previously asserted only the enter event and source path (copyrangesrc.txt) but not the copied byte count on the TRANSFER_CLASSIFIED exit, unlike sibling sendfile64/splice/tee coverage in retbytes_test.go. The basic scenario copies exactly the 32-byte payload "copy_file_range integration data" in a single copy_file_range(2) call, so the exit byte count is deterministic. Switch to runScenarioResult and add assertEventBytesEqual(...,32) plus assertEventDurationPositive to lock in the transfer attribution (FamilyFS, fd_in@args[0], ret TransferClassified). Coverage hardening only; no defect. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-02-22Add copy_file_range support and tracepoint attach testsPaul Buetow