1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
#!/bin/sh echo 1..4 . `dirname $0`/boilerplate.sh $SCREEN -D -m -s /bin/true sleep 2 & check_exit_code_true Create session sleep 1 session_exists_2_tests sleep 2 has_session_with_testname check_exit_code_false Session is gone