This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [patch] Fix path length overflow in realpath (BZ#22786)
On 04/10/2018 11:47 AM, Andreas Schwab wrote:
> On Apr 10 2018, Paul Pluzhnikov <ppluzhnikov@google.com> wrote:
>
>> It already took me significantly longer to write the test than to write the
>> fix :-(
>
> It's not unusual that writing meaningful tests is the hardest part.
100% Agreed.
If writing the test takes 100x longer than the fix it is *still* worth it.
Systems level programming is *all* about writing tests to exercise the system.
--
Cheers,
Carlos.