Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Merge branch 'master' of https://framagit.org/simgrid/simgrid
[simgrid.git] / teshsuite / s4u / actor-migration / actor-migration.tesh
1 #!/usr/bin/env tesh
2
3 p Testing the migration feature of S4U
4
5 ! output sort 19
6 $ ${bindir:=.}/actor-migration ${platfdir:=.}/small_platform.xml "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n"
7 > [  0.000000] (1:emigrant@Jacquelin) I'll look for a new job on another machine ('Boivin') where the grass is greener.
8 > [  0.000000] (1:emigrant@Boivin) Yeah, found something to do
9 > [  0.000000] (2:policeman@Boivin) Wait at the checkpoint.
10 > [  3.000000] (1:emigrant@Boivin) Moving back home after work
11 > [  7.000000] (0:maestro@) Simulation time 7
12 > [  7.000000] (1:emigrant@Jacquelin) I've been moved on this new host: Jacquelin
13 > [  7.000000] (1:emigrant@Jacquelin) Uh, nothing to do here. Stopping now
14 > [  7.000000] (2:policeman@Boivin) I moved the emigrant