dgl / perl-Sys-Trace

Perl interface to system call tracing interfaces (strace, ktrace)
1 stars 2 forks source link

Support for more filename-containing syscalls? #4

Open eserte opened 2 years ago

eserte commented 2 years ago

t/03.basic.t fails on Debian 11 systems:

ls: cannot access 'does-not-exist': No such file or directory

#   Failed test at t/03.basic.t line 15.
# Looks like you failed 1 test of 3.
t/03.basic.t ... 
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/3 subtests 

Looking at the strace output, it seems that the ls call is first doing a statx call on the non-existent filename. This syscall does not seem to be handled, so the test fails.

eserte commented 2 years ago

Also affected: Fedora and CentOS 8. Not affected: Debian 10 and older, Ubuntu 20.04, CentOS 7.

toddr commented 2 years ago

Affected Alma Linux 9