X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/13923923e3d6b9d9bb2ab05a7b5ddd8b4f5aaa09..4ab3513687a36569218810261a173e189a9af5a5:/teshsuite/msg/pid/pid.tesh diff --git a/teshsuite/msg/pid/pid.tesh b/teshsuite/msg/pid/pid.tesh new file mode 100644 index 0000000000..0a551860b1 --- /dev/null +++ b/teshsuite/msg/pid/pid.tesh @@ -0,0 +1,27 @@ +$ ./pid ${srcdir:=.}/pid_p.xml ${srcdir:=.}/pid_d.xml 0 "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" +> [ 0.000000] (1:sendpid@toto) Sending pid of "1". +> [ 0.000000] (2:sendpid@toto) Sending pid of "2". +> [ 0.000000] (3:sendpid@toto) Sending pid of "3". +> [ 0.001082] (4:killall@toto) Killing process "1". +> [ 0.001082] (1:sendpid@toto) Send of pid "1" done. +> [ 0.001082] (1:sendpid@toto) Process "1" killed. +> [ 0.002165] (2:sendpid@toto) Send of pid "2" done. +> [ 0.002165] (4:killall@toto) Killing process "2". +> [ 0.002165] (2:sendpid@toto) Process "2" killed. +> [ 0.003247] (3:sendpid@toto) Send of pid "3" done. +> [ 0.003247] (4:killall@toto) Killing process "3". +> [ 0.003247] (3:sendpid@toto) Process "3" killed. + +$ ./pid ${srcdir:=.}/pid_p.xml ${srcdir:=.}/pid_d.xml 2 "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" +> [ 0.000000] (2:sendpid@toto) Sending pid of "2". +> [ 0.000000] (3:sendpid@toto) Sending pid of "3". +> [ 0.000000] (4:sendpid@toto) Sending pid of "4". +> [ 0.001082] (5:killall@toto) Killing process "2". +> [ 0.001082] (2:sendpid@toto) Send of pid "2" done. +> [ 0.001082] (2:sendpid@toto) Process "2" killed. +> [ 0.002165] (3:sendpid@toto) Send of pid "3" done. +> [ 0.002165] (5:killall@toto) Killing process "3". +> [ 0.002165] (3:sendpid@toto) Process "3" killed. +> [ 0.003247] (4:sendpid@toto) Send of pid "4" done. +> [ 0.003247] (5:killall@toto) Killing process "4". +> [ 0.003247] (4:sendpid@toto) Process "4" killed.