Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
merge
[simgrid.git] / examples / msg / platform-properties / platform-properties.tesh
1 #! ./tesh
2
3 p Testing a MSG application with properties in the XML for Hosts, Links and Processes
4
5 ! output sort 19
6 $ $SG_TEST_EXENV ${bindir:=.}/platform-properties$EXEEXT ${srcdir:=.}/prop.xml ${srcdir:=.}/../msg/platform-properties/platform-properties_d.xml  "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n"
7 > [  0.000000] (0:maestro@) There are 7 hosts in the environment
8 > [  0.000000] (0:maestro@) Host 'node-3.acme.org' runs at 1000000000 flops/s
9 > [  0.000000] (0:maestro@) Host 'node-0.acme.org' runs at 1000000000 flops/s
10 > [  0.000000] (0:maestro@) Host 'node-4.acme.org' runs at 1000000000 flops/s
11 > [  0.000000] (0:maestro@) Host 'node-1.acme.org' runs at 1000000000 flops/s
12 > [  0.000000] (0:maestro@) Host 'node-2.acme.org' runs at 1000000000 flops/s
13 > [  0.000000] (0:maestro@) Host 'host1' runs at 1000000000 flops/s
14 > [  0.000000] (0:maestro@) Host 'host2' runs at 1000000000 flops/s
15 > [  0.000000] (1:alice@host1) == Print the properties of the host 'host1'
16 > [  0.000000] (1:alice@host1)   Host property: 'mem' -> '4'
17 > [  0.000000] (1:alice@host1)   Host property: 'Hdd' -> '180'
18 > [  0.000000] (1:alice@host1) == Try to get a host property that does not exist
19 > [  0.000000] (1:alice@host1) == Try to get a host property that does exist
20 > [  0.000000] (1:alice@host1)    Property: Hdd old value: 180
21 > [  0.000000] (1:alice@host1) == Trying to modify a host property
22 > [  0.000000] (1:alice@host1)    Property: Hdd old value: 250
23 > [  0.000000] (2:bob@host1) == Print the properties of the process
24 > [  0.000000] (2:bob@host1)    Process property: SomeProp -> SomeValue
25 > [  0.000000] (2:bob@host1) == Try to get a process property that does not exist
26 > [  1.000000] (3:carole@host2) == Print the properties of the host 'host1'
27 > [  1.000000] (3:carole@host2)   Host property: 'mem' -> '4'
28 > [  1.000000] (3:carole@host2)   Host property: 'Hdd' -> '180'
29 > [  1.000000] (3:carole@host2) == Try to get a host property that does not exist
30 > [  1.000000] (3:carole@host2) == Try to get a host property that does exist
31 > [  1.000000] (3:carole@host2)    Property: Hdd old value: 180
32 > [  1.000000] (3:carole@host2) == Trying to modify a host property
33 > [  1.000000] (3:carole@host2)    Property: Hdd old value: 250
34 > [  2.000000] (4:david@host2) == Print the properties of the host 'node-0.acme.org'
35 > [  2.000000] (4:david@host2)   Host property: 'mem' -> '42'
36 > [  2.000000] (4:david@host2)   Host property: 'bla' -> 'acme cluster'
37 > [  2.000000] (4:david@host2)   Host property: 'name' -> 'AS2'
38 > [  2.000000] (4:david@host2)   Host property: 'Hdd' -> '180'
39 > [  2.000000] (4:david@host2) == Try to get a host property that does not exist
40 > [  2.000000] (4:david@host2) == Try to get a host property that does exist
41 > [  2.000000] (4:david@host2)    Property: Hdd old value: 180
42 > [  2.000000] (4:david@host2) == Trying to modify a host property
43 > [  2.000000] (4:david@host2)    Property: Hdd old value: 250