Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Unify the host names in cluster description files
[simgrid.git] / examples / s4u / platform-properties / s4u-platform-properties.tesh
index b9997e5..b3f7e54 100644 (file)
@@ -1,17 +1,17 @@
-#! ./tesh
+#!/usr/bin/env tesh
 
 p Testing a S4U application with properties in the XML for Hosts, Links and Actors
 
 ! output sort 19
-$ $SG_TEST_EXENV ${bindir:=.}/s4u-platform-properties$EXEEXT ${srcdir:=.}/prop.xml ${srcdir:=.}/../s4u/platform-properties/s4u-platform-properties_d.xml  "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n"
+$ $SG_TEST_EXENV ${bindir:=.}/s4u-platform-properties$EXEEXT ${platfdir}/prop.xml s4u-platform-properties_d.xml  "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n"
 > [  0.000000] (0:maestro@) There are 7 hosts in the environment
 > [  0.000000] (0:maestro@) Host 'host1' runs at 1000000000 flops/s
 > [  0.000000] (0:maestro@) Host 'host2' runs at 1000000000 flops/s
-> [  0.000000] (0:maestro@) Host 'node-0.acme.org' runs at 1000000000 flops/s
-> [  0.000000] (0:maestro@) Host 'node-1.acme.org' runs at 1000000000 flops/s
-> [  0.000000] (0:maestro@) Host 'node-2.acme.org' runs at 1000000000 flops/s
-> [  0.000000] (0:maestro@) Host 'node-3.acme.org' runs at 1000000000 flops/s
-> [  0.000000] (0:maestro@) Host 'node-4.acme.org' runs at 1000000000 flops/s
+> [  0.000000] (0:maestro@) Host 'node-0.simgrid.org' runs at 1000000000 flops/s
+> [  0.000000] (0:maestro@) Host 'node-1.simgrid.org' runs at 1000000000 flops/s
+> [  0.000000] (0:maestro@) Host 'node-2.simgrid.org' runs at 1000000000 flops/s
+> [  0.000000] (0:maestro@) Host 'node-3.simgrid.org' runs at 1000000000 flops/s
+> [  0.000000] (0:maestro@) Host 'node-4.simgrid.org' runs at 1000000000 flops/s
 > [  0.000000] (2:bob@host1) == Print the properties of the zone
 > [  0.000000] (2:bob@host1)    Zone property: filename -> prop.xml
 > [  0.000000] (2:bob@host1)    Zone property: date -> 31-08-12
@@ -35,7 +35,7 @@ $ $SG_TEST_EXENV ${bindir:=.}/s4u-platform-properties$EXEEXT ${srcdir:=.}/prop.x
 > [  1.000000] (3:carole@host2)    Property: Hdd old value: 180
 > [  1.000000] (3:carole@host2) == Trying to modify a host property
 > [  1.000000] (3:carole@host2)    Property: Hdd old value: 250
-> [  2.000000] (4:david@host2) == Print the properties of the host 'node-0.acme.org'
+> [  2.000000] (4:david@host2) == Print the properties of the host 'node-0.simgrid.org'
 > [  2.000000] (4:david@host2)   Host property: 'Hdd' -> '180'
 > [  2.000000] (4:david@host2)   Host property: 'bla' -> 'acme cluster'
 > [  2.000000] (4:david@host2)   Host property: 'mem' -> '42'