Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Add an example of process migration in examples/msg/migration
[simgrid.git] / examples / msg / migration / migration.tesh
diff --git a/examples/msg/migration/migration.tesh b/examples/msg/migration/migration.tesh
new file mode 100644 (file)
index 0000000..53cda1f
--- /dev/null
@@ -0,0 +1,10 @@
+#! ./tesh
+
+p Testing the migration feature of MSG
+
+$ $SG_TEST_EXENV migration/migration ${srcdir:=.}/msg_platform.xml ${srcdir:=.}/migration/migration.deploy 
+> [Jacquelin:emigrant:(1) 0.000000] [msg_test/INFO] I'll look for a new job on another machine where the grass is greener.
+> [Boivin:emigrant:(1) 0.000000] [msg_test/INFO] Yeah, found something to do
+> [Boivin:emigrant:(1) 1.000000] [msg_test/INFO] Moving back home after work
+> [Jacquelin:emigrant:(1) 1.000000] [msg_test/INFO] Uh, nothing to do here. Stopping now
+> [1.000000] [msg_test/INFO] Simulation time 1