X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/509ed39fb4a45e2d53f855613a3639000b278f62..b13270eab5c8a0f30534894c9d56566897eeea62:/teshsuite/msg/plugin-hostload/plugin-hostload.tesh diff --git a/teshsuite/msg/plugin-hostload/plugin-hostload.tesh b/teshsuite/msg/plugin-hostload/plugin-hostload.tesh index 1ae59ccc9c..1f8df839b3 100644 --- a/teshsuite/msg/plugin-hostload/plugin-hostload.tesh +++ b/teshsuite/msg/plugin-hostload/plugin-hostload.tesh @@ -1,8 +1,8 @@ -#! ./tesh +#!/usr/bin/env tesh p This tests the HostLoad plugin (this allows the user to get the current load of a host and the computed flops) -$ ${bindir:=.}/plugin-hostload$EXEEXT ${platfdir}/energy_platform.xml "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" +$ ${bindir:=.}/plugin-hostload ${platfdir}/energy_platform.xml "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" > [ 0.000000] (1:load_test@MyHost1) Initial peak speed: 1E+08 flop/s; number of flops computed so far: 0E+00 (should be 0) > [ 0.000000] (1:load_test@MyHost1) Sleep for 10 seconds > [ 10.000000] (1:load_test@MyHost1) Done sleeping 10.00s; peak speed: 1E+08 flop/s; number of flops computed so far: 0E+00 (nothing should have changed)