# when task takes too many time it should be killed by should.py
./should --timeout 1 demo/tests/timeout.should
# Check that the script is not running anymore
ps awux | grep 'seq 1 10.*sleep' | grep -v grep || echo "not found"
$ The task must time out
1: timeout after
$ The elapsed time must be close to the timeout
$ The task must not run anymore