Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Update tesh files for gras-rpc tests.
[simgrid.git] / examples / gras / rpc / test_sg_64.tesh
1 #! ./tesh
2
3 # There is no timestamp in this test, because we exchange exceptions,
4 # which contain not only the filename (which could change in case of
5 # VPATH builds), but also the function name (which changes with the
6 # optimization level: if inlining, gcc changes it).
7
8 ! timeout 10
9 ! output sort
10 $ $SG_TEST_EXENV ./rpc_simulator$EXEEXT ${srcdir:=.}/../../msg/small_platform.xml ${srcdir:=.}/rpc.xml "--log=root.fmt:[0]%e(%i:%P@%h)%e%m%n"
11 > [0] (1:server@Tremblay) Launch server (port=4000)
12 > [0] (1:server@Tremblay) Listening on port 4000
13 > [0] (1:server@Tremblay) Got message PING(1234) from Fafard:5000
14 > [0] (1:server@Tremblay) Answered with PONG(4321)
15 > [0] (1:server@Tremblay) Asked to die by Fafard:5000
16 > [0] (1:server@Tremblay) Done.
17 > [0] (1:server@Tremblay) Exiting GRAS
18 > [0] (2:forwarder@Ginette) Launch forwarder (port=4000)
19 > [0] (2:forwarder@Ginette) Forward a request
20 > [0] (2:forwarder@Ginette) Forward a request
21 > [0] (2:forwarder@Ginette) Forward a request
22 > [0] (2:forwarder@Ginette) Forward a request
23 > [0] (2:forwarder@Ginette) Forward a request
24 > [0] (2:forwarder@Ginette) Asked to die by Fafard:5000
25 > [0] (2:forwarder@Ginette) Done.
26 > [0] (2:forwarder@Ginette) Exiting GRAS
27 > [0] (3:client@Fafard) Launch client (server on Tremblay:4000)
28 > [0] (3:client@Fafard) Connected to Tremblay:4000.
29 > [0] (3:client@Fafard) Connected to server which is on Tremblay:4000
30 > [0] (3:client@Fafard) The answer to PING(1234) on Tremblay:4000 is PONG(4321)
31 > [0] (3:client@Fafard) Call the exception raising RPC
32 > [0] (3:client@Fafard) Got the expected exception when calling the exception raising RPC
33 > [0] (3:client@Fafard) Called the exception raising RPC
34 > [0] (3:client@Fafard) Call the exception raising RPC (i=0)
35 > [0] (3:client@Fafard) Call the exception raising RPC (i=1)
36 > [0] (3:client@Fafard) Call the exception raising RPC (i=2)
37 > [0] (3:client@Fafard) Call the exception raising RPC (i=3)
38 > [0] (3:client@Fafard) Call the exception raising RPC (i=4)
39 > [0] (3:client@Fafard) Call the exception raising RPC on the forwarder (i=0)
40 > [0] (3:client@Fafard) Got the expected exception when calling the exception raising RPC
41 > [0] (3:client@Fafard) Call the exception raising RPC on the forwarder (i=1)
42 > [0] (3:client@Fafard) Got the expected exception when calling the exception raising RPC
43 > [0] (3:client@Fafard) Call the exception raising RPC on the forwarder (i=2)
44 > [0] (3:client@Fafard) Got the expected exception when calling the exception raising RPC
45 > [0] (3:client@Fafard) Call the exception raising RPC on the forwarder (i=3)
46 > [0] (3:client@Fafard) Got the expected exception when calling the exception raising RPC
47 > [0] (3:client@Fafard) Call the exception raising RPC on the forwarder (i=4)
48 > [0] (3:client@Fafard) Got the expected exception when calling the exception raising RPC
49 > [0] (3:client@Fafard) Ask Ginette:4000 to die
50 > [0] (3:client@Fafard) Ask Tremblay:4000 to die
51 > [0] (3:client@Fafard) Done.
52 > [0] (3:client@Fafard) Exiting GRAS