X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/6bddb443489c58ab179610e6ab3f1e4e58c27a58..67634e9178fa9195d4b6fffb61e86ccd81a783d9:/examples/msg/process-daemon/process-daemon.tesh diff --git a/examples/msg/process-daemon/process-daemon.tesh b/examples/msg/process-daemon/process-daemon.tesh new file mode 100644 index 0000000000..25c0f10608 --- /dev/null +++ b/examples/msg/process-daemon/process-daemon.tesh @@ -0,0 +1,11 @@ +#! ./tesh + +p Testing the process daemonization feature of MSG + +$ $SG_TEST_EXENV ${bindir:=.}/process-daemon ${srcdir:=.}/small_platform.xml "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" +> [ 0.000000] (1:worker@Boivin) Let's do some work (for 10 sec on Boivin). +> [ 0.000000] (2:daemon@Tremblay) Hello from the infinite loop +> [ 3.000000] (2:daemon@Tremblay) Hello from the infinite loop +> [ 6.000000] (2:daemon@Tremblay) Hello from the infinite loop +> [ 9.000000] (2:daemon@Tremblay) Hello from the infinite loop +> [ 10.000000] (1:worker@Boivin) I'm done now. I leave even if it makes the daemon die.