diff options
| author | Paul Buetow <paul@buetow.org> | 2026-02-21 21:35:09 +0200 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2026-02-21 21:35:09 +0200 |
| commit | 065389bac04c71a5dd5f44b2cfe5fe801bafabab (patch) | |
| tree | 2be4be6ab3970ffc329d31ad9be44c25a4e15deb /internal | |
| parent | c36cb85503ce96a589a2dd38c1279b31c87164f2 (diff) | |
Add negative integration tests for stat syscalls (task 348)
Add three negative test scenarios for stat-family syscalls:
- stat-enoent: SYS_STAT on nonexistent file (ENOENT)
- stat-access-enoent: SYS_ACCESS on nonexistent file (ENOENT, since
tests run as root and EACCES is bypassed)
- stat-fstat-ebadf: SYS_FSTAT on invalid fd 99999 (EBADF)
Each scenario verifies that ior captures the tracepoint on syscall
entry even when the syscall fails.
Amp-Thread-ID: https://ampcode.com/threads/T-019c81af-d01d-75db-8a92-37951fb1503c
Co-authored-by: Amp <amp@ampcode.com>
Diffstat (limited to 'internal')
0 files changed, 0 insertions, 0 deletions
