summaryrefslogtreecommitdiff
path: root/integrationtests/process_test.go
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2026-05-31 19:22:22 +0300
committerPaul Buetow <paul@buetow.org>2026-05-31 19:22:22 +0300
commit63a20d8498bf161d16e8a8c8cc0b096a8355aa6f (patch)
tree18aa764dacba2a6ddc3aabc6e36e44db6ea6b5dd /integrationtests/process_test.go
parent8a1bf6236f6a525881c647fd881093b393436411 (diff)
test(readahead): add end-to-end integration coverage
readahead(2) was traced (KindFd enter fd_event from args[0], UNCLASSIFIED exit ret_event) but had no integration or ioworkload scenario coverage, unlike its sibling sync_file_range. Add readwrite-readahead and readwrite-readahead-ebadf scenarios plus TestReadwriteReadahead / TestReadwriteReadaheadEbadf, asserting enter_readahead capture with path attribution, zero attributed bytes (readahead returns 0/-1, not a byte count, so it is correctly UNCLASSIFIED), and positive end-to-end duration. No classification change: inspection confirms KindFd / UNCLASSIFIED is correct per man 2 readahead; bytesFromRet returns 0 for UNCLASSIFIED so the 0/-1 return is never misattributed as bytes. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Diffstat (limited to 'integrationtests/process_test.go')
0 files changed, 0 insertions, 0 deletions