From: velho Date: Mon, 16 Jul 2007 14:53:30 +0000 (+0000) Subject: Added files to the msg SUSPEND/RESUME example. X-Git-Tag: v3.3~1551 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/8d1e4e8f43226a5a63cb43aa79b1f6a4411c66b0 Added files to the msg SUSPEND/RESUME example. git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@3809 48e7efb5-ca39-0410-a469-dd3cf9ba447f --- diff --git a/examples/msg/suspend/deployment_suspend.xml b/examples/msg/suspend/deployment_suspend.xml new file mode 100644 index 0000000000..bd0cd97a6b --- /dev/null +++ b/examples/msg/suspend/deployment_suspend.xml @@ -0,0 +1,5 @@ + + + + + diff --git a/examples/msg/msg_test_suspend.c b/examples/msg/suspend/suspend.c similarity index 100% rename from examples/msg/msg_test_suspend.c rename to examples/msg/suspend/suspend.c diff --git a/examples/msg/suspend.tesh.in b/examples/msg/suspend/suspend.tesh.in similarity index 83% rename from examples/msg/suspend.tesh.in rename to examples/msg/suspend/suspend.tesh.in index 4137017bd6..0ccb5a6cc9 100644 --- a/examples/msg/suspend.tesh.in +++ b/examples/msg/suspend/suspend.tesh.in @@ -1,8 +1,8 @@ #! ./tesh -p Testing the suspend feature of MSG +p Testing the suspend/resume feature of MSG -$ ./msg_test_suspend @srcdir@/msg_platform.xml @srcdir@/msg_deployment_suspend.xml +$ suspend/suspend @srcdir@/msg_platform.xml @srcdir@/suspend/deployment_suspend.xml > [Jacquelin:dream_master:(1) 0.000000] [msg_test/INFO] Let's create a lazy guy. > [Jacquelin:dream_master:(1) 0.000000] [msg_test/INFO] Let's wait a little bit... > [Jacquelin:Lazy:(2) 0.000000] [msg_test/INFO] Nobody's watching me ? Let's go to sleep.