Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Set path for binary in token ring tesh file.
authorArnaud Giersch <arnaud.giersch@iut-bm.univ-fcomte.fr>
Mon, 21 Nov 2011 11:15:05 +0000 (12:15 +0100)
committerArnaud Giersch <arnaud.giersch@iut-bm.univ-fcomte.fr>
Wed, 23 Nov 2011 15:46:45 +0000 (16:46 +0100)
examples/msg/token_ring/token_ring.tesh

index 8263239..02147a9 100644 (file)
@@ -1,7 +1,7 @@
 #! ./tesh
 
 ! output sort
 #! ./tesh
 
 ! output sort
-$ $SG_TEST_EXENV token_ring ${srcdir:=.}/two_clusters.xml "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n"
+$ $SG_TEST_EXENV ${bindir:=.}/token_ring ${srcdir:=.}/two_clusters.xml "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n"
 > [  0.000000] (0:@) Bypassing the XML parser since surf_parse_open received a NULL pointer. If it is not what you want, go fix your code.
 > [  0.066240] (1:master@bob1.hamburger.edu) Send Data to "host1"
 > [  0.066240] (2:slave@bob3.hamburger.edu) Received "Token"
 > [  0.000000] (0:@) Bypassing the XML parser since surf_parse_open received a NULL pointer. If it is not what you want, go fix your code.
 > [  0.066240] (1:master@bob1.hamburger.edu) Send Data to "host1"
 > [  0.066240] (2:slave@bob3.hamburger.edu) Received "Token"
@@ -26,7 +26,7 @@ $ $SG_TEST_EXENV token_ring ${srcdir:=.}/two_clusters.xml "--log=root.fmt:[%10.6
 > [  1.104000] (1:master@bob1.hamburger.edu) Received "Token"
 
 ! output sort
 > [  1.104000] (1:master@bob1.hamburger.edu) Received "Token"
 
 ! output sort
-$ $SG_TEST_EXENV token_ring ${srcdir:=.}/two_peers.xml --cfg=coordinates:yes "--log=root.fmt:[%12.6r]%e(%i:%P@%h)%e%m%n"
+$ $SG_TEST_EXENV ${bindir:=.}/token_ring ${srcdir:=.}/two_peers.xml --cfg=coordinates:yes "--log=root.fmt:[%12.6r]%e(%i:%P@%h)%e%m%n"
 > [    0.000000] (0:@) Configuration change: Set 'coordinates' to 'yes'
 > [    0.000000] (0:@) Bypassing the XML parser since surf_parse_open received a NULL pointer. If it is not what you want, go fix your code.
 > [    5.221778] (1:master@peer_100030591) Send Data to "host1"
 > [    0.000000] (0:@) Configuration change: Set 'coordinates' to 'yes'
 > [    0.000000] (0:@) Bypassing the XML parser since surf_parse_open received a NULL pointer. If it is not what you want, go fix your code.
 > [    5.221778] (1:master@peer_100030591) Send Data to "host1"