diff options
| author | Paul Buetow <paul@buetow.org> | 2026-02-21 20:57:21 +0200 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2026-02-21 20:57:21 +0200 |
| commit | be7f8fc048fd92eb806159de5bdb3a3becea3c16 (patch) | |
| tree | c05866163ec261f92bdae80ab07cb0abd210c32d /integrationtests/open_test.go | |
| parent | cd516e1577ad97d5c8b1603657b13d110557e1b2 (diff) | |
Add negative integration tests for readwrite syscalls (task 348)
Add four negative scenarios that verify ior captures tracepoints even
when syscalls fail:
- readwrite-wronly-read: read from O_WRONLY fd (EBADF)
- readwrite-rdonly-write: write to O_RDONLY fd (EBADF)
- readwrite-pread-invalid: pread64 with negative offset (EINVAL)
- readwrite-pwrite-invalid: pwrite64 with negative offset (EINVAL)
Amp-Thread-ID: https://ampcode.com/threads/T-019c818c-ec91-7673-a5ba-e9b2ba53379b
Co-authored-by: Amp <amp@ampcode.com>
Diffstat (limited to 'integrationtests/open_test.go')
0 files changed, 0 insertions, 0 deletions
