X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/0a6c8726c3e15e934bf74df09171710e346db558..c66ded12fe49506aa0d7db41ae64554af0e8f481:/examples/msg/properties/msg_prop.tesh diff --git a/examples/msg/properties/msg_prop.tesh b/examples/msg/properties/msg_prop.tesh index bb65d1a937..244bf33cff 100644 --- a/examples/msg/properties/msg_prop.tesh +++ b/examples/msg/properties/msg_prop.tesh @@ -4,6 +4,9 @@ p Testing a MSG application with properties in the XML for Hosts, Links and Proc ! 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] (0:@) There are 2 hosts in the environment +> [ 0.000000] (0:@) Host 'host1' runs at 1000000000 flops/s +> [ 0.000000] (0:@) Host 'host2' runs at 1000000000 flops/s > [ 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' @@ -15,3 +18,11 @@ $ $SG_TEST_EXENV properties/msg_prop$EXEEXT ${srcdir:=.}/../platforms/prop.xml $ > [ 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 +> [ 1.000000] (3:carole@host2) == Print the properties of the host +> [ 1.000000] (3:carole@host2) Host property: 'SG_TEST_Hdd' -> '180' +> [ 1.000000] (3:carole@host2) Host property: 'SG_TEST_mem' -> '4' +> [ 1.000000] (3:carole@host2) == Try to get a host property that does not exist +> [ 1.000000] (3:carole@host2) == Try to get a host property that does exist +> [ 1.000000] (3:carole@host2) Property: SG_TEST_Hdd old value: 180 +> [ 1.000000] (3:carole@host2) == Trying to modify a host property +> [ 1.000000] (3:carole@host2) Property: SG_TEST_Hdd old value: 250