8 ms·
Is there a test command that asks the operating system to run a program but cause the nth fork to fail? I would be more diligent about writing code that handles
by alan-crowe 12y ago
Is there a test command that asks the operating system to run a program but cause the nth fork to fail? I would be more diligent about writing code that handles rare errors if I could create test cases. Writing code that I cannot test feels wrong.