& $SG_TEST_EXENV ./rpc_server$EXEEXT 4202 --log=root.fmt:%m%n $@
> Launch server (port=4202)
> Listening on port 4202
-> Got message PING(1234) from 127.0.0.1:0
+> Got message PING(1234) from 127.0.0.1:5002
> Answered with PONG(4321)
-> Propagate local exception ('Error for the client') from 'raise exception' RPC cb back to 127.0.0.1:0
-> Propagate local exception ('Error for the client') from 'raise exception' RPC cb back to 127.0.0.1:0
-> Propagate local exception ('Error for the client') from 'raise exception' RPC cb back to 127.0.0.1:0
-> Propagate local exception ('Error for the client') from 'raise exception' RPC cb back to 127.0.0.1:0
-> Propagate local exception ('Error for the client') from 'raise exception' RPC cb back to 127.0.0.1:0
-> Propagate local exception ('Error for the client') from 'raise exception' RPC cb back to 127.0.0.1:0
+> Propagate local exception ('Error for the client') from 'raise exception' RPC cb back to 127.0.0.1:5002
+> Propagate local exception ('Error for the client') from 'raise exception' RPC cb back to 127.0.0.1:5002
+> Propagate local exception ('Error for the client') from 'raise exception' RPC cb back to 127.0.0.1:5002
+> Propagate local exception ('Error for the client') from 'raise exception' RPC cb back to 127.0.0.1:5002
+> Propagate local exception ('Error for the client') from 'raise exception' RPC cb back to 127.0.0.1:5002
+> Propagate local exception ('Error for the client') from 'raise exception' RPC cb back to 127.0.0.1:5002
> Propagate local exception ('Error for the client') from 'raise exception' RPC cb back to 127.0.0.1:4203
> Propagate local exception ('Error for the client') from 'raise exception' RPC cb back to 127.0.0.1:4203
> Propagate local exception ('Error for the client') from 'raise exception' RPC cb back to 127.0.0.1:4203
> Propagate local exception ('Error for the client') from 'raise exception' RPC cb back to 127.0.0.1:4203
> Propagate local exception ('Error for the client') from 'raise exception' RPC cb back to 127.0.0.1:4203
-> Asked to die by 127.0.0.1:0
+> Asked to die by 127.0.0.1:5002
> Done.
> Exiting GRAS
& $SG_TEST_EXENV ./rpc_forwarder$EXEEXT 4203 127.0.0.1 4202 --log=root.fmt:%m%n $@
> Launch forwarder (port=4203)
> Forward a request
-> Propagate remote exception ('Error for the client') from 'forward exception' RPC cb back to 127.0.0.1:0
+> Propagate remote exception ('Error for the client') from 'forward exception' RPC cb back to 127.0.0.1:5002
> Forward a request
-> Propagate remote exception ('Error for the client') from 'forward exception' RPC cb back to 127.0.0.1:0
+> Propagate remote exception ('Error for the client') from 'forward exception' RPC cb back to 127.0.0.1:5002
> Forward a request
-> Propagate remote exception ('Error for the client') from 'forward exception' RPC cb back to 127.0.0.1:0
+> Propagate remote exception ('Error for the client') from 'forward exception' RPC cb back to 127.0.0.1:5002
> Forward a request
-> Propagate remote exception ('Error for the client') from 'forward exception' RPC cb back to 127.0.0.1:0
+> Propagate remote exception ('Error for the client') from 'forward exception' RPC cb back to 127.0.0.1:5002
> Forward a request
-> Propagate remote exception ('Error for the client') from 'forward exception' RPC cb back to 127.0.0.1:0
-> Asked to die by 127.0.0.1:0
+> Propagate remote exception ('Error for the client') from 'forward exception' RPC cb back to 127.0.0.1:5002
+> Asked to die by 127.0.0.1:5002
> Done.
> Exiting GRAS
+# give the server and the forwarder a chance to acquire the expected port numbers
+$ $SG_TEST_EXENV sleep 1
+
& $SG_TEST_EXENV ./rpc_client$EXEEXT 127.0.0.1 4202 127.0.0.1 4203 --log=root.fmt:%m%n $@
> Launch client (server on 127.0.0.1:4202)
> Connected to 127.0.0.1:4202.