Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Specify actor in the MC traces
[simgrid.git] / teshsuite / mc / random-bug / random-bug-nocrash.tesh
1 #!/usr/bin/env tesh
2 ! expect return 1
3 $ ${bindir:=.}/../../../bin/simgrid-mc ${bindir:=.}/random-bug assert ${platfdir}/small_platform.xml "--log=root.fmt:[%10.6r]%e(%i:%a@%h)%e%m%n" --log=xbt_cfg.thresh:warning
4 > [  0.000000] (0:maestro@) Start a DFS exploration. Reduction is: dpor.
5 > [  0.000000] (0:maestro@) Behavior: assert
6 > [  0.000000] (0:maestro@) **************************
7 > [  0.000000] (0:maestro@) *** PROPERTY NOT VALID ***
8 > [  0.000000] (0:maestro@) **************************
9 > [  0.000000] (0:maestro@) Counter-example execution trace:
10 > [  0.000000] (0:maestro@)   1: Random([0;5] ~> 3)
11 > [  0.000000] (0:maestro@)   1: Random([0;5] ~> 4)
12 > [  0.000000] (0:maestro@) Path = 1/3;1/4
13 > [  0.000000] (0:maestro@) DFS exploration ended. 27 unique states visited; 22 backtracks (68 transition replays, 19 states visited overall)
14
15 $ ${bindir:=.}/../../../bin/simgrid-mc ${bindir:=.}/random-bug printf ${platfdir}/small_platform.xml "--log=root.fmt:[%10.6r]%e(%i:%a@%h)%e%m%n" --log=xbt_cfg.thresh:warning
16 > [  0.000000] (0:maestro@) Start a DFS exploration. Reduction is: dpor.
17 > [  0.000000] (0:maestro@) Behavior: printf
18 > [  0.000000] (1:app@Fafard) Error reached
19 > [  0.000000] (0:maestro@) DFS exploration ended. 43 unique states visited; 36 backtracks (108 transition replays, 30 states visited overall)