X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/3033f40440af89108eae451162251279ea0e8fbd..d44ed07cd1cb3f4fceb9dc45e1161723f0fdc9a0:/examples/gras/all2all/test_rl diff --git a/examples/gras/all2all/test_rl b/examples/gras/all2all/test_rl index eef12eaf69..04a84af5c4 100755 --- a/examples/gras/all2all/test_rl +++ b/examples/gras/all2all/test_rl @@ -1,56 +1,59 @@ # The receivers, waiting for 5 messages ! timeout 20 -& $SG_TEST_EXENV ./all2all_receiver$EXEEXT 4000 5 --log=root.fmt:%m%n -> Listening on port 4000 (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 1 to go) -> Got Data from 127.0.0.1:0 (still 0 to go) +& $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:5005 (still 4 to go) +> Got Data from 127.0.0.1:5005 (still 3 to go) +> Got Data from 127.0.0.1:5005 (still 2 to go) +> Got Data from 127.0.0.1:5005 (still 1 to go) +> Got Data from 127.0.0.1:5005 (still 0 to go) > Exiting GRAS ! timeout 20 -& $SG_TEST_EXENV ./all2all_receiver$EXEEXT 4001 5 --log=root.fmt:%m%n -> Listening on port 4001 (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 1 to go) -> Got Data from 127.0.0.1:0 (still 0 to go) +& $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:5005 (still 4 to go) +> Got Data from 127.0.0.1:5005 (still 3 to go) +> Got Data from 127.0.0.1:5005 (still 2 to go) +> Got Data from 127.0.0.1:5005 (still 1 to go) +> Got Data from 127.0.0.1:5005 (still 0 to go) > Exiting GRAS ! timeout 20 -& $SG_TEST_EXENV ./all2all_receiver$EXEEXT 4002 5 --log=root.fmt:%m%n -> Listening on port 4002 (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 1 to go) -> Got Data from 127.0.0.1:0 (still 0 to go) +& $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:5005 (still 4 to go) +> Got Data from 127.0.0.1:5005 (still 3 to go) +> Got Data from 127.0.0.1:5005 (still 2 to go) +> Got Data from 127.0.0.1:5005 (still 1 to go) +> Got Data from 127.0.0.1:5005 (still 0 to go) > Exiting GRAS ! timeout 20 -& $SG_TEST_EXENV ./all2all_receiver$EXEEXT 4003 5 --log=root.fmt:%m%n -> Listening on port 4003 (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 1 to go) -> Got Data from 127.0.0.1:0 (still 0 to go) +& $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:5005 (still 4 to go) +> Got Data from 127.0.0.1:5005 (still 3 to go) +> Got Data from 127.0.0.1:5005 (still 2 to go) +> Got Data from 127.0.0.1:5005 (still 1 to go) +> Got Data from 127.0.0.1:5005 (still 0 to go) > Exiting GRAS ! timeout 20 -& $SG_TEST_EXENV ./all2all_receiver$EXEEXT 4004 5 --log=root.fmt:%m%n -> Listening on port 4004 (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 1 to go) -> Got Data from 127.0.0.1:0 (still 0 to go) +& $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:5005 (still 4 to go) +> Got Data from 127.0.0.1:5005 (still 3 to go) +> Got Data from 127.0.0.1:5005 (still 2 to go) +> Got Data from 127.0.0.1:5005 (still 1 to go) +> Got Data from 127.0.0.1:5005 (still 0 to go) > Exiting GRAS +# give the receivers a chance to acquire the expected port numbers +$ $SG_TEST_EXENV 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 @@ -59,7 +62,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 @@ -68,7 +71,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 @@ -77,7 +80,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 @@ -86,7 +89,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