Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Second commit for cmake in an other directory.
[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 $ $SG_TEST_EXENV properties/msg_prop$EXEEXT ${srcdir:=.}/../platforms/prop.xml ${srcdir:=.}/properties/deployment_properties.xml 
6 > [host1:alice:(1) 0.000000] [test/INFO] == Print the properties of the host
7 > [host1:alice:(1) 0.000000] [test/INFO]   Host property: 'SG_TEST_Hdd' -> '180'
8 > [host1:alice:(1) 0.000000] [test/INFO]   Host property: 'SG_TEST_mem' -> '4'
9 > [host1:alice:(1) 0.000000] [test/INFO] == Try to get a host property that does not exist
10 > [host1:alice:(1) 0.000000] [test/INFO] == Try to get a host property that does exist
11 > [host1:alice:(1) 0.000000] [test/INFO]    Property: SG_TEST_Hdd old value: 180
12 > [host1:alice:(1) 0.000000] [test/INFO] == Trying to modify a host property
13 > [host1:alice:(1) 0.000000] [test/INFO]    Property: SG_TEST_Hdd old value: 250
14 > [host1:bob:(2) 0.000000] [test/INFO] == Print the properties of the process
15 > [host1:bob:(2) 0.000000] [test/INFO]    Process property: SomeProp -> SomeValue
16 > [host1:bob:(2) 0.000000] [test/INFO] == Try to get a process property that does not exist