X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/e3e2024b794b44875934f421a156dcc7fcfd7341..3bd1f7386ddad36c4ad2a12e131e224afe2551a6:/examples/msg/properties/msg_prop.tesh diff --git a/examples/msg/properties/msg_prop.tesh b/examples/msg/properties/msg_prop.tesh index 23fc6b002c..07f9070cf3 100644 --- a/examples/msg/properties/msg_prop.tesh +++ b/examples/msg/properties/msg_prop.tesh @@ -3,12 +3,14 @@ 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.000000] [test/INFO] Property: SomeProp for process slave has value: SomeValue -> [C1-00:slave:(2) 0.000000] [test/INFO] Property: UnknownProcessProp for process slave is undefined -> [0.000000] [test/INFO] Simulation time 0 - +> [host1:alice:(1) 0.000000] [test/INFO] == Print the properties of the host +> [host1:alice:(1) 0.000000] [test/INFO] Host property: 'SG_TEST_Hdd' -> '180' +> [host1:alice:(1) 0.000000] [test/INFO] Host property: 'SG_TEST_mem' -> '4' +> [host1:alice:(1) 0.000000] [test/INFO] == Try to get a host property that does not exist +> [host1:alice:(1) 0.000000] [test/INFO] == Try to get a host property that does exist +> [host1:alice:(1) 0.000000] [test/INFO] Property: SG_TEST_Hdd old value: 180 +> [host1:alice:(1) 0.000000] [test/INFO] == Trying to modify a host property +> [host1:alice:(1) 0.000000] [test/INFO] Property: SG_TEST_Hdd old value: 250 +> [host1:bob:(2) 0.000000] [test/INFO] == Print the properties of the process +> [host1:bob:(2) 0.000000] [test/INFO] Process property: SomeProp -> SomeValue +> [host1:bob:(2) 0.000000] [test/INFO] == Try to get a process property that does not exist