X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/240801b7c05a4efce78f175e114c9def9e16d7a5..558a3e70545cb12442d4fcaab591667049c3d458:/tools/tesh/README.tesh diff --git a/tools/tesh/README.tesh b/tools/tesh/README.tesh index c9361fa35f..f63a90f85e 100644 --- a/tools/tesh/README.tesh +++ b/tools/tesh/README.tesh @@ -14,7 +14,7 @@ blank and is ignored): `<' input to pass to the command `>' output expected from the command `!' metacommand, which can be one of: - `set timeout' + `timeout' |no `expect signal' `expect return' `output' @@ -56,7 +56,7 @@ RETURN CODE ----------- TESH spits an appropriate error message when the child do not return 0 as -return code (cf. catch-return.tesh). +return code (cf. catch-return.tesh), and returns code+40 itself. It is also possible to specify that a given command must return another value. For this, use the "expect return" metacommand, which takes an integer as @@ -76,9 +76,10 @@ TIMEOUTS -------- By default, all commands are given 5 seconds to execute -(cf. catch-timeout.tesh). You can change this with the "set timeout", which +(cf. catch-timeout.tesh). You can change this with the "timeout", which takes an integer as argument. The change only apply to the next command -(cf. set-timeout.tesh). +(cf. set-timeout.tesh). If you pass "no" as argument, the command +cannot timeout. OUTPUT ------