Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Do not use configure to generate the test script, factorize some Makefile.am stuff...
[simgrid.git] / examples / gras / mutual_exclusion / simple_token / test_rl
diff --git a/examples/gras/mutual_exclusion/simple_token/test_rl b/examples/gras/mutual_exclusion/simple_token/test_rl
new file mode 100755 (executable)
index 0000000..2ce3a1c
--- /dev/null
@@ -0,0 +1,22 @@
+& $SG_TEST_EXENV ./simple_token_node$EXEEXT 4000 127.0.0.1 4010 --create-token --log=root.fmt:%m%n $@ 
+> Create the token (with value 0) and send it to 127.0.0.1:4010
+> Begin a new loop. Still to do: 2
+> Begin a new loop. Still to do: 1
+> Begin a new loop. Still to do: 0
+> Shut down the token-ring. There was 17 hops.
+> Exiting GRAS
+
+& $SG_TEST_EXENV ./simple_token_node$EXEEXT 4010 127.0.0.1 4020 --log=root.fmt:%m%n $@ 
+> Exiting GRAS
+
+& $SG_TEST_EXENV ./simple_token_node$EXEEXT 4020 127.0.0.1 4030 --log=root.fmt:%m%n $@ 
+> Exiting GRAS
+
+& $SG_TEST_EXENV ./simple_token_node$EXEEXT 4030 127.0.0.1 4040 --log=root.fmt:%m%n $@ 
+> Exiting GRAS
+
+& $SG_TEST_EXENV ./simple_token_node$EXEEXT 4040 127.0.0.1 4050 --log=root.fmt:%m%n $@ 
+> Exiting GRAS
+
+& $SG_TEST_EXENV ./simple_token_node$EXEEXT 4050 127.0.0.1 4000 --log=root.fmt:%m%n $@ 
+> Exiting GRAS