3
# A really trivial try block
11
# This try should always succeed
18
echo "Try did not expire, as expected."
20
echo "Try expired incorrectly!"
25
# This try should always fail
32
echo "Try should not have succeeded!."
34
echo "Try failed as expected."
38
# This try should succeed after several times through
51
echo "Try eventually succeeded, as expected"
53
echo "Try failed unexpectedly."
58
# Test lots of variations on syntax
65
try for 1 time 10 seconds
69
try 1 time or 10 seconds
73
try for 1 time or 10 seconds
81
try for 10 seconds 1 time
85
try 10 seconds or 1 time
89
try for 10 seconds or 1 time
93
try for 10 seconds or 1 time
97
try for 10 seconds or 1 time
101
try 10 seconds or 1 time every 10 seconds
105
try 1 time or 10 seconds every 10 seconds