X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/b0018577cdf7f41abba2ddbcce6367cbd04064bd..59583a6fd23e5d50caa353cb00befee274e17c16:/examples/gras/timer/test_rl.tesh diff --git a/examples/gras/timer/test_rl.tesh b/examples/gras/timer/test_rl.tesh new file mode 100755 index 0000000000..5715c7f875 --- /dev/null +++ b/examples/gras/timer/test_rl.tesh @@ -0,0 +1,19 @@ + +p This test is a bit long to run, since it setups timers and wait for them. Don't worry, that's expected + +! timeout 20 +$ $SG_TEST_EXENV ./timer_client$EXEEXT --log=root.fmt:%m%n +> Programming the repetitive_action with a frequency of 1.000000 sec +> Programming the delayed_action for after 2.000000 sec +> Have a rest +> Canceling the delayed_action. +> Re-programming the delayed_action for after 2.000000 sec +> Repetitive_action has nothing to do yet +> Repetitive_action has nothing to do yet +> delayed_action setting globals->still_to_do to 5 +> repetitive_action decrementing globals->still_to_do. New value: 4 +> repetitive_action decrementing globals->still_to_do. New value: 3 +> repetitive_action decrementing globals->still_to_do. New value: 2 +> repetitive_action decrementing globals->still_to_do. New value: 1 +> repetitive_action decrementing globals->still_to_do. New value: 0 +> Exiting GRAS