Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
This hack is not needed since gras is killed.
[simgrid.git] / examples / msg / properties / msg_prop.tesh
1 #! ./tesh
2
3 p Testing a MSG application with properties in the XML for Hosts, Links and Processes
4
5 ! output sort
6 $ $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"
7 > [  0.000000] (0:@) There are 2 hosts in the environment
8 > [  0.000000] (0:@) Host 'host1' runs at 1000000000 flops/s
9 > [  0.000000] (0:@) Host 'host2' runs at 1000000000 flops/s
10 > [  0.000000] (1:alice@host1) == Print the properties of the host
11 > [  0.000000] (1:alice@host1)   Host property: 'mem' -> '4'
12 > [  0.000000] (1:alice@host1)   Host property: 'Hdd' -> '180'
13 > [  0.000000] (1:alice@host1) == Try to get a host property that does not exist
14 > [  0.000000] (1:alice@host1) == Try to get a host property that does exist
15 > [  0.000000] (1:alice@host1)    Property: Hdd old value: 180
16 > [  0.000000] (1:alice@host1) == Trying to modify a host property
17 > [  0.000000] (1:alice@host1)    Property: Hdd old value: 250
18 > [  0.000000] (2:bob@host1) == Print the properties of the process
19 > [  0.000000] (2:bob@host1)    Process property: SomeProp -> SomeValue
20 > [  0.000000] (2:bob@host1) == Try to get a process property that does not exist
21 > [  1.000000] (3:carole@host2) == Print the properties of the host
22 > [  1.000000] (3:carole@host2)   Host property: 'mem' -> '4'
23 > [  1.000000] (3:carole@host2)   Host property: 'Hdd' -> '180'
24 > [  1.000000] (3:carole@host2) == Try to get a host property that does not exist
25 > [  1.000000] (3:carole@host2) == Try to get a host property that does exist
26 > [  1.000000] (3:carole@host2)    Property: Hdd old value: 180
27 > [  1.000000] (3:carole@host2) == Trying to modify a host property
28 > [  1.000000] (3:carole@host2)    Property: Hdd old value: 250