diff options
| author | Paul Buetow <paul@buetow.org> | 2026-06-06 09:10:36 +0300 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2026-06-06 09:10:36 +0300 |
| commit | fc4d0a4332ba72d9ecbb46b1233bd39fac80812f (patch) | |
| tree | 687d09dcd900b2df6560992dc0bd1999f972dd85 /integrationtests/process_test.go | |
| parent | ade74696f89dc98b3472bbacd9f36860ca83e3c5 (diff) | |
test(copy_file_range): assert TRANSFER_CLASSIFIED copied byte count end-to-end
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>
Diffstat (limited to 'integrationtests/process_test.go')
0 files changed, 0 insertions, 0 deletions
