Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
fix the tesh of many tests after the order change in hosts_as_dynar
[simgrid.git] / examples / msg / process-suspend / process-suspend.tesh
1 #! ./tesh
2
3 p Testing the suspend/resume feature of MSG
4
5 ! output sort 19
6 $ $SG_TEST_EXENV ${bindir:=.}/process-suspend ${srcdir:=.}/small_platform.xml "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n"
7 > [  0.000000] (1:dream_master@Boivin) Let's create a lazy guy.
8 > [  0.000000] (2:Lazy@Boivin) Nobody's watching me ? Let's go to sleep.
9 > [  0.000000] (1:dream_master@Boivin) Let's wait a little bit...
10 > [ 10.000000] (1:dream_master@Boivin) Let's wake the lazy guy up! >:) BOOOOOUUUHHH!!!!
11 > [ 10.000000] (2:Lazy@Boivin) Uuuh ? Did somebody call me ?
12 > [ 10.000000] (2:Lazy@Boivin) Going to sleep...
13 > [ 15.000000] (1:dream_master@Boivin) Suspend the lazy guy while he's sleeping...
14 > [ 15.000000] (1:dream_master@Boivin) Let him finish his siesta.
15 > [ 25.000000] (1:dream_master@Boivin) Wake up, lazy guy!
16 > [ 25.000000] (2:Lazy@Boivin) Mmm... waking up.
17 > [ 25.000000] (2:Lazy@Boivin) Going to sleep one more time...
18 > [ 30.000000] (1:dream_master@Boivin) Suspend again the lazy guy while he's sleeping...
19 > [ 30.000000] (1:dream_master@Boivin) This time, don't let him finish his siesta.
20 > [ 32.000000] (1:dream_master@Boivin) Wake up, lazy guy!
21 > [ 32.000000] (1:dream_master@Boivin) OK, goodbye now.
22 > [ 35.000000] (2:Lazy@Boivin) Waking up once for all!
23 > [ 35.000000] (2:Lazy@Boivin) Mmmh, goodbye now.
24 > [ 35.000000] (0:maestro@) Simulation time 35