diff options
| author | Paul Buetow <paul@buetow.org> | 2026-02-21 21:20:30 +0200 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2026-02-21 21:20:30 +0200 |
| commit | 69395ffff024254b114eeba543af68cc6ca77f0c (patch) | |
| tree | 77d8dea1d2bab810e66ae7fb19bccc1d56efe970 /integrationtests/dir_test.go | |
| parent | 04500a92433396ca17cb879f4a40e4399dc06ff9 (diff) | |
Add negative integration tests for link syscalls (task 348)
Add three negative scenarios and tests:
- link-enoent: hard link to nonexistent source (ENOENT) via raw SYS_LINK
- link-symlink-eexist: symlink where target already exists (EEXIST) via raw SYS_SYMLINK
- link-readlinkat-einval: readlinkat on non-symlink file (EINVAL) via SYS_READLINKAT
All use raw syscalls to hit exact tracepoints. ior captures on syscall
entry, so even failed syscalls have their arguments recorded.
Amp-Thread-ID: https://ampcode.com/threads/T-019c81a2-693b-716f-9ed2-25a674f1fc9a
Co-authored-by: Amp <amp@ampcode.com>
Diffstat (limited to 'integrationtests/dir_test.go')
0 files changed, 0 insertions, 0 deletions
