Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Merge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid
[simgrid.git] / examples / msg / process-kill / process-kill.tesh
1 #! ./tesh
2
3 p Testing a MSG_process_kill function
4
5 $ $SG_TEST_EXENV ${bindir:=.}/process-kill ${srcdir:=.}/small_platform.xml "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n"
6 > [  0.000000] (1:killer@Tremblay) Hello!
7 > [  0.000000] (2:victim@Fafard) Hello!
8 > [  0.000000] (2:victim@Fafard) Suspending myself
9 > [ 10.000000] (1:killer@Tremblay) Resume process
10 > [ 10.000000] (1:killer@Tremblay) Kill process
11 > [ 10.000000] (1:killer@Tremblay) OK, goodbye now.
12 > [ 10.000000] (0:maestro@) Simulation time 10