# when task takes too many time it should be killed by should.py
!EXIT_CODE: 1
./should --timeout 1 demo/tests/timeout.should
# Check that the script is not running anymore
!EXIT_CODE: 0
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 r1:^1.[0-9]+s $ The task must not run anymore 1:not found