X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/2212197e6e094d039f714935671b1b0681a6cf9d..06bae8eb4bc956a5ee70ec1d3cdbc5e7e782536f:/examples/msg/properties/msg_prop.tesh diff --git a/examples/msg/properties/msg_prop.tesh b/examples/msg/properties/msg_prop.tesh index 7a86f5b4f9..bb65d1a937 100644 --- a/examples/msg/properties/msg_prop.tesh +++ b/examples/msg/properties/msg_prop.tesh @@ -2,15 +2,16 @@ p Testing a MSG application with properties in the XML for Hosts, Links and Processes -$ $SG_TEST_EXENV properties/msg_prop$EXEEXT ${srcdir:=.}/../platforms/prop.xml ${srcdir:=.}/properties/deployment_properties.xml -> [C1-01:master:(1) 0.000000] [test/INFO] Property: Hdd for host: C1-00 has value: 120 -> [C1-01:master:(1) 0.000000] [test/INFO] Property: Unknown for host C1-00 is undefined -> [C1-01:master:(1) 0.000000] [test/INFO] Trying to modify a host property -> [C1-01:master:(1) 0.000000] [test/INFO] Property: Hdd old value: 120 -> [C1-01:master:(1) 0.000000] [test/INFO] Property: Hdd new value: 250 -> [C1-00:slave:(2) 0.020200] [test/INFO] Received "Task_0" -> [C1-00:slave:(2) 0.020200] [test/INFO] Property: SomeProp for process slave has value: SomeValue -> [C1-00:slave:(2) 0.020200] [test/INFO] Property: UnknownProcessProp for process slave is undefined -> [C1-00:slave:(2) 0.070400] [test/INFO] Received "finalize" -> [0.070400] [test/INFO] Simulation time 0.0704 - +! output sort +$ $SG_TEST_EXENV properties/msg_prop$EXEEXT ${srcdir:=.}/../platforms/prop.xml ${srcdir:=.}/properties/deployment_properties.xml "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" +> [ 0.000000] (1:alice@host1) == Print the properties of the host +> [ 0.000000] (1:alice@host1) Host property: 'SG_TEST_Hdd' -> '180' +> [ 0.000000] (1:alice@host1) Host property: 'SG_TEST_mem' -> '4' +> [ 0.000000] (1:alice@host1) == Try to get a host property that does not exist +> [ 0.000000] (1:alice@host1) == Try to get a host property that does exist +> [ 0.000000] (1:alice@host1) Property: SG_TEST_Hdd old value: 180 +> [ 0.000000] (1:alice@host1) == Trying to modify a host property +> [ 0.000000] (1:alice@host1) Property: SG_TEST_Hdd old value: 250 +> [ 0.000000] (2:bob@host1) == Print the properties of the process +> [ 0.000000] (2:bob@host1) Process property: SomeProp -> SomeValue +> [ 0.000000] (2:bob@host1) == Try to get a process property that does not exist