Kill program after it outputs a given line, from a shell script
- by Paul
Background:
I am writing a test script for a piece of computational biology software. The software I am testing can take days or even weeks to run, so it has a recover functionality built in, in the case of system crashes or power failures.
I am trying to figure out how to test the recovery system. Specifically, I can't figure out a way to "crash"…