Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Protect --log=root.fmt flag with double quotes in tesh files
[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] (1:alice@host1) == Print the properties of the host
8 > [  0.000000] (1:alice@host1)   Host property: 'SG_TEST_Hdd' -> '180'
9 > [  0.000000] (1:alice@host1)   Host property: 'SG_TEST_mem' -> '4'
10 > [  0.000000] (1:alice@host1) == Try to get a host property that does not exist
11 > [  0.000000] (1:alice@host1) == Try to get a host property that does exist
12 > [  0.000000] (1:alice@host1)    Property: SG_TEST_Hdd old value: 180
13 > [  0.000000] (1:alice@host1) == Trying to modify a host property
14 > [  0.000000] (1:alice@host1)    Property: SG_TEST_Hdd old value: 250
15 > [  0.000000] (2:bob@host1) == Print the properties of the process
16 > [  0.000000] (2:bob@host1)    Process property: SomeProp -> SomeValue
17 > [  0.000000] (2:bob@host1) == Try to get a process property that does not exist