You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
That would be ideal, I was experimenting with this and the issue became that the upstream uses an artifact to prove that the intercepted method was actually called. Is there a way to do that with strace too?
I was able to modify a similar test upstream when I found that depending on the version of GLIBC the test was incompatible when running with the original GNU coreutils, I think its likely that the same thing applies here and I can upstream the patch I wrote with sed
Activity
[-]tests/rm/rm-readdir-fail: strace -o /dev/null -e inject=getdents64:error=EIO rm -rf has wrong error[/-][+]tests/rm/rm-readdir-fail?: strace -o /dev/null -e inject=getdents64:error=EIO rm -rf has wrong error[/+]oech3 commentedon Jan 20, 2026
@ChrisDryden do you think is this rm-readdir-fail? or something else?
ChrisDryden commentedon Jan 20, 2026
There is an underlying issue here: #9604 this PR shows the fix to match the error message.
oech3 commentedon Jan 20, 2026
It seems you are patching test suite. Can we upstream
straceinstead?ChrisDryden commentedon Jan 20, 2026
That would be ideal, I was experimenting with this and the issue became that the upstream uses an artifact to prove that the intercepted method was actually called. Is there a way to do that with strace too?
oech3 commentedon Jan 20, 2026
I 1st considered #10272 (comment) , but it seems error message is different
oech3 commentedon Jan 20, 2026
Oh artifact... It is why coreutils/coreutils#153 (comment) was happened.
ChrisDryden commentedon Jan 20, 2026
I was able to modify a similar test upstream when I found that depending on the version of GLIBC the test was incompatible when running with the original GNU coreutils, I think its likely that the same thing applies here and I can upstream the patch I wrote with sed
oech3 commentedon Jan 20, 2026
Great. (I don't want to
sedtoo many soure code)oech3 commentedon Oct 11, 2026
I found the way to support any C-function at
rm-readdir-fail.shside. I'm trying to upstream it.