diff options
| author | Paul Buetow <paul@buetow.org> | 2026-06-06 09:43:50 +0300 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2026-06-06 09:43:50 +0300 |
| commit | 4292b4ef116ec72b66f3c19f8a9a00458d441b79 (patch) | |
| tree | ef88511e8261174cda9dbc44ead2f82f6aace967 /integrationtests/pidfd_test.go | |
| parent | 494c277bd4937c0c8a4fce4f53401053036925b1 (diff) | |
test(utime): add end-to-end coverage for futimesat and utimensat
utime_test.go previously covered only utime/utimes/ENOENT. Add scenarios
and tests for the dirfd-relative siblings futimesat(2) and utimensat(2),
which take a dirfd at args[0] and the pathname at args[1]. Both scenarios
use raw syscalls with AT_FDCWD as the dirfd so the exact enter_futimesat
and enter_utimensat tracepoints fire, and the tests assert PathContains
the filename, proving ior captures the path from args[1] (after the
dirfd). Classification/tracing were already verified by audits qt/f10;
this is pure coverage.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Diffstat (limited to 'integrationtests/pidfd_test.go')
0 files changed, 0 insertions, 0 deletions
