Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
[#!] #! ./tesh -> #!/usr/bin/env tesh
[simgrid.git] / teshsuite / msg / process-kill / process-kill.tesh
1 #!/usr/bin/env tesh
2
3 p Testing a MSG_process_kill function
4
5 $ $SG_TEST_EXENV ${bindir:=.}/process-kill ${platfdir}/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 victim
10 > [ 10.000000] (1:killer@Tremblay) Kill victim
11 > [ 10.000000] (1:killer@Tremblay) OK, goodbye now. I commit a suicide.
12 > [ 10.000000] (0:maestro@) Simulation time 10