Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
f38d83ad46c816d2380488df6a4f6d6a37d4f873
[simgrid.git] / examples / msg / start_kill_time / start_kill_time.tesh
1 #! ./tesh
2
3 p Test0 Process without time
4
5 $ $SG_TEST_EXENV ${bindir:=.}/start_kill_time/sk_time ${srcdir:=.}/examples/platforms/cluster.xml ${srcdir:=.}/examples/msg/start_kill_time/deployment.xml "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n"
6 > [  0.000000] (1:sleeper@node-0.acme.org) Hello! I go to sleep.
7 > [ 10.000000] (1:sleeper@node-0.acme.org) Done sleeping.
8 > [ 10.000000] (1:sleeper@node-0.acme.org) Exiting now (done sleeping or got killed).
9 > [ 10.000000] (0:maestro@) Simulation time 10
10
11 p Test1 Process with start time
12
13 $ $SG_TEST_EXENV ${bindir:=.}/start_kill_time/sk_time ${srcdir:=.}/examples/platforms/cluster.xml ${srcdir:=.}/examples/msg/start_kill_time/deployment_start.xml "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n"
14 > [  0.000000] (1:sleeper@node-0.acme.org) Hello! I go to sleep.
15 > [  1.000000] (2:sleeper@node-1.acme.org) Hello! I go to sleep.
16 > [  2.000000] (3:sleeper@node-2.acme.org) Hello! I go to sleep.
17 > [  3.000000] (4:sleeper@node-3.acme.org) Hello! I go to sleep.
18 > [  4.000000] (5:sleeper@node-4.acme.org) Hello! I go to sleep.
19 > [  5.000000] (6:sleeper@node-5.acme.org) Hello! I go to sleep.
20 > [ 10.000000] (1:sleeper@node-0.acme.org) Done sleeping.
21 > [ 10.000000] (1:sleeper@node-0.acme.org) Exiting now (done sleeping or got killed).
22 > [ 11.000000] (2:sleeper@node-1.acme.org) Done sleeping.
23 > [ 11.000000] (2:sleeper@node-1.acme.org) Exiting now (done sleeping or got killed).
24 > [ 12.000000] (3:sleeper@node-2.acme.org) Done sleeping.
25 > [ 12.000000] (3:sleeper@node-2.acme.org) Exiting now (done sleeping or got killed).
26 > [ 13.000000] (4:sleeper@node-3.acme.org) Done sleeping.
27 > [ 13.000000] (4:sleeper@node-3.acme.org) Exiting now (done sleeping or got killed).
28 > [ 14.000000] (5:sleeper@node-4.acme.org) Done sleeping.
29 > [ 14.000000] (5:sleeper@node-4.acme.org) Exiting now (done sleeping or got killed).
30 > [ 15.000000] (6:sleeper@node-5.acme.org) Done sleeping.
31 > [ 15.000000] (6:sleeper@node-5.acme.org) Exiting now (done sleeping or got killed).
32 > [ 15.000000] (0:maestro@) Simulation time 15
33
34 p Test1 Process with kill time
35
36 $ $SG_TEST_EXENV ${bindir:=.}/start_kill_time/sk_time ${srcdir:=.}/examples/platforms/cluster.xml ${srcdir:=.}/examples/msg/start_kill_time/deployment_kill.xml "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n"
37 > [  0.000000] (1:sleeper@node-1.acme.org) Hello! I go to sleep.
38 > [  0.000000] (2:sleeper@node-2.acme.org) Hello! I go to sleep.
39 > [  0.000000] (3:sleeper@node-3.acme.org) Hello! I go to sleep.
40 > [  6.000000] (1:sleeper@node-1.acme.org) Exiting now (done sleeping or got killed).
41 > [  6.000000] (2:sleeper@node-2.acme.org) Exiting now (done sleeping or got killed).
42 > [  6.000000] (3:sleeper@node-3.acme.org) Done sleeping.
43 > [  6.000000] (3:sleeper@node-3.acme.org) Exiting now (done sleeping or got killed).
44 > [  6.000000] (0:maestro@) Simulation time 6
45
46 p Test2 Process with start and kill times
47
48 $ $SG_TEST_EXENV ${bindir:=.}/start_kill_time/sk_time ${srcdir:=.}/examples/platforms/cluster.xml ${srcdir:=.}/examples/msg/start_kill_time/deployment_start_kill.xml "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n"
49 > [  0.000000] (1:sleeper@node-0.acme.org) Hello! I go to sleep.
50 > [  1.000000] (2:sleeper@node-1.acme.org) Hello! I go to sleep.
51 > [  2.000000] (3:sleeper@node-2.acme.org) Hello! I go to sleep.
52 > [  3.000000] (4:sleeper@node-3.acme.org) Hello! I go to sleep.
53 > [  4.000000] (5:sleeper@node-4.acme.org) Hello! I go to sleep.
54 > [  5.000000] (1:sleeper@node-0.acme.org) Exiting now (done sleeping or got killed).
55 > [  5.000000] (6:sleeper@node-5.acme.org) Hello! I go to sleep.
56 > [  6.000000] (2:sleeper@node-1.acme.org) Exiting now (done sleeping or got killed).
57 > [  6.000000] (3:sleeper@node-2.acme.org) Done sleeping.
58 > [  6.000000] (3:sleeper@node-2.acme.org) Exiting now (done sleeping or got killed).
59 > [  7.000000] (4:sleeper@node-3.acme.org) Done sleeping.
60 > [  7.000000] (4:sleeper@node-3.acme.org) Exiting now (done sleeping or got killed).
61 > [  9.000000] (5:sleeper@node-4.acme.org) Exiting now (done sleeping or got killed).
62 > [ 10.000000] (6:sleeper@node-5.acme.org) Exiting now (done sleeping or got killed).
63 > [ 10.000000] (0:maestro@) Simulation time 10