[patch] Fix path length overflow in realpath (BZ#22786)

Carlos O'Donell carlos@redhat.com
Wed Apr 11 13:32:00 GMT 2018


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.



More information about the Libc-alpha mailing list