On 03/09/15 22:21, Roland McGrath wrote: > That libc change was intended to be a pure refactoring and should not have > changed the behavior at all. That it caused the extra stat is a bug (it's > a simple inverted test typo). > > This is in the grey area of whether the bug was "user-visible", but a > performance regression that bubbles up to perceptibility seems like it > qualifies. So please file a bug at https://sourceware.org/bugzilla > (you can assign it directly to [email protected]).
https://sourceware.org/bugzilla/show_bug.cgi?id=18921 > Unfortunately, I can't think of a way to write a real regression test for > this in the libc test suite. We don't really do "external" things like > use strace to determine if a test passes. There would probably need to be some mocking infrastructure in place to record and match API calls. Much easier in a language like python with built in introspection etc. thanks Roland! Pádraig.
