X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/1c622be53c551a86b0fbf5ce8f2ee2d776f421b2..f0019122700792b954b38d5e2a8b8a40d15e49fd:/tools/tesh2/examples/var.tesh diff --git a/tools/tesh2/examples/var.tesh b/tools/tesh2/examples/var.tesh index 31000bce4b..ecc263985c 100644 --- a/tools/tesh2/examples/var.tesh +++ b/tools/tesh2/examples/var.tesh @@ -23,7 +23,7 @@ D Usage of tesh variables ! expect return $ESYNTAX < ! include-file= < ! include $include-file -$ ./tesh --log="log.thresh:info tesh.fmt:%m%n" +$ tesh --log="log.thresh:info tesh.fmt:%m%n" > Test unit from stdin > [stdin:1] Undefined variable `(include-file)' > Test unit `stdin': NOK ( syntax error) @@ -100,7 +100,7 @@ p On this platform ENOENT is: $ENOENT ! expect return $ESYNTAX < ! ENOENT=300 < $ echo $ENOENT -$ ./tesh --log="log.thresh:info tesh.fmt:%m%n" +$ tesh --log="log.thresh:info tesh.fmt:%m%n" > Test unit from stdin > [stdin:1] A system variable named `(ENOENT)' already exists > Test unit `stdin': NOK ( syntax error) @@ -117,7 +117,7 @@ p the len of new is : ${#new} p new is empty <$new> and is len is <${#new}> -# display 66 and assign 6 to the value 66 of the variable new +# display 66 and assign 66 to the value 66 of the variable new p ${new:=66}