Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
allow gras test to run in //
[simgrid.git] / examples / gras / all2all / test_rl
index 43ee861..bda53f2 100755 (executable)
@@ -1,7 +1,7 @@
 # The receivers, waiting for 5 messages
-! set timeout 20
-& $SG_TEST_EXENV ./all2all_receiver$EXEEXT 4000 5 --log=root.fmt:%m%n
-> Listening on port 4000 (expecting 5 messages)
+! timeout 20
+& $SG_TEST_EXENV ./all2all_receiver$EXEEXT 4400 5 --log=root.fmt:%m%n
+> Listening on port 4400 (expecting 5 messages)
 > Got Data from 127.0.0.1:0 (still 4 to go)
 > Got Data from 127.0.0.1:0 (still 3 to go)
 > Got Data from 127.0.0.1:0 (still 2 to go)
@@ -9,9 +9,9 @@
 > Got Data from 127.0.0.1:0 (still 0 to go)
 > Exiting GRAS
 
-! set timeout 20
-& $SG_TEST_EXENV ./all2all_receiver$EXEEXT 4001 5 --log=root.fmt:%m%n
-> Listening on port 4001 (expecting 5 messages)
+! timeout 20
+& $SG_TEST_EXENV ./all2all_receiver$EXEEXT 4401 5 --log=root.fmt:%m%n
+> Listening on port 4401 (expecting 5 messages)
 > Got Data from 127.0.0.1:0 (still 4 to go)
 > Got Data from 127.0.0.1:0 (still 3 to go)
 > Got Data from 127.0.0.1:0 (still 2 to go)
@@ -19,9 +19,9 @@
 > Got Data from 127.0.0.1:0 (still 0 to go)
 > Exiting GRAS
 
-! set timeout 20
-& $SG_TEST_EXENV ./all2all_receiver$EXEEXT 4002 5 --log=root.fmt:%m%n
-> Listening on port 4002 (expecting 5 messages)
+! timeout 20
+& $SG_TEST_EXENV ./all2all_receiver$EXEEXT 4402 5 --log=root.fmt:%m%n
+> Listening on port 4402 (expecting 5 messages)
 > Got Data from 127.0.0.1:0 (still 4 to go)
 > Got Data from 127.0.0.1:0 (still 3 to go)
 > Got Data from 127.0.0.1:0 (still 2 to go)
@@ -29,9 +29,9 @@
 > Got Data from 127.0.0.1:0 (still 0 to go)
 > Exiting GRAS
 
-! set timeout 20
-& $SG_TEST_EXENV ./all2all_receiver$EXEEXT 4003 5 --log=root.fmt:%m%n
-> Listening on port 4003 (expecting 5 messages)
+! timeout 20
+& $SG_TEST_EXENV ./all2all_receiver$EXEEXT 4403 5 --log=root.fmt:%m%n
+> Listening on port 4403 (expecting 5 messages)
 > Got Data from 127.0.0.1:0 (still 4 to go)
 > Got Data from 127.0.0.1:0 (still 3 to go)
 > Got Data from 127.0.0.1:0 (still 2 to go)
@@ -39,9 +39,9 @@
 > Got Data from 127.0.0.1:0 (still 0 to go)
 > Exiting GRAS
 
-! set timeout 20
-& $SG_TEST_EXENV ./all2all_receiver$EXEEXT 4004 5 --log=root.fmt:%m%n
-> Listening on port 4004 (expecting 5 messages)
+! timeout 20
+& $SG_TEST_EXENV ./all2all_receiver$EXEEXT 4404 5 --log=root.fmt:%m%n
+> Listening on port 4404 (expecting 5 messages)
 > Got Data from 127.0.0.1:0 (still 4 to go)
 > Got Data from 127.0.0.1:0 (still 3 to go)
 > Got Data from 127.0.0.1:0 (still 2 to go)
 > Got Data from 127.0.0.1:0 (still 0 to go)
 > Exiting GRAS
 
-$ sleep 1
-
 # Five time a sender
-$ $SG_TEST_EXENV ./all2all_sender$EXEEXT 127.0.0.1:4000 127.0.0.1:4001 127.0.0.1:4002 127.0.0.1:4003 127.0.0.1:4004 512 --log=root.fmt:%m%n
+$ $SG_TEST_EXENV ./all2all_sender$EXEEXT 127.0.0.1:4400 127.0.0.1:4401 127.0.0.1:4402 127.0.0.1:4403 127.0.0.1:4404 512 --log=root.fmt:%m%n
 > Launch current node
 >   Sent Data
 >   Sent Data
@@ -61,7 +59,7 @@ $ $SG_TEST_EXENV ./all2all_sender$EXEEXT 127.0.0.1:4000 127.0.0.1:4001 127.0.0.1
 >   Sent Data
 > Exiting GRAS
 
-$ $SG_TEST_EXENV ./all2all_sender$EXEEXT 127.0.0.1:4000 127.0.0.1:4001 127.0.0.1:4002 127.0.0.1:4003 127.0.0.1:4004 512 --log=root.fmt:%m%n
+$ $SG_TEST_EXENV ./all2all_sender$EXEEXT 127.0.0.1:4400 127.0.0.1:4401 127.0.0.1:4402 127.0.0.1:4403 127.0.0.1:4404 512 --log=root.fmt:%m%n
 > Launch current node
 >   Sent Data
 >   Sent Data
@@ -70,7 +68,7 @@ $ $SG_TEST_EXENV ./all2all_sender$EXEEXT 127.0.0.1:4000 127.0.0.1:4001 127.0.0.1
 >   Sent Data
 > Exiting GRAS
 
-$ $SG_TEST_EXENV ./all2all_sender$EXEEXT 127.0.0.1:4000 127.0.0.1:4001 127.0.0.1:4002 127.0.0.1:4003 127.0.0.1:4004 512 --log=root.fmt:%m%n
+$ $SG_TEST_EXENV ./all2all_sender$EXEEXT 127.0.0.1:4400 127.0.0.1:4401 127.0.0.1:4402 127.0.0.1:4403 127.0.0.1:4404 512 --log=root.fmt:%m%n
 > Launch current node
 >   Sent Data
 >   Sent Data
@@ -79,7 +77,7 @@ $ $SG_TEST_EXENV ./all2all_sender$EXEEXT 127.0.0.1:4000 127.0.0.1:4001 127.0.0.1
 >   Sent Data
 > Exiting GRAS
 
-$ $SG_TEST_EXENV ./all2all_sender$EXEEXT 127.0.0.1:4000 127.0.0.1:4001 127.0.0.1:4002 127.0.0.1:4003 127.0.0.1:4004 512 --log=root.fmt:%m%n
+$ $SG_TEST_EXENV ./all2all_sender$EXEEXT 127.0.0.1:4400 127.0.0.1:4401 127.0.0.1:4402 127.0.0.1:4403 127.0.0.1:4404 512 --log=root.fmt:%m%n
 > Launch current node
 >   Sent Data
 >   Sent Data
@@ -88,7 +86,7 @@ $ $SG_TEST_EXENV ./all2all_sender$EXEEXT 127.0.0.1:4000 127.0.0.1:4001 127.0.0.1
 >   Sent Data
 > Exiting GRAS
 
-$ $SG_TEST_EXENV ./all2all_sender$EXEEXT 127.0.0.1:4000 127.0.0.1:4001 127.0.0.1:4002 127.0.0.1:4003 127.0.0.1:4004 512 --log=root.fmt:%m%n
+$ $SG_TEST_EXENV ./all2all_sender$EXEEXT 127.0.0.1:4400 127.0.0.1:4401 127.0.0.1:4402 127.0.0.1:4403 127.0.0.1:4404 512 --log=root.fmt:%m%n
 > Launch current node
 >   Sent Data
 >   Sent Data