! expect return $EEXITCODENOTMATCH\r
\r
# in this case the option `keep-going' is not specified so Tesh detects the error and interrupt all the folowing units.\r
-$ ./tesh --log='log.thresh:info tesh.fmt:%m%n' file1.tesh file2.tesh\r
+$ ./tesh --log="log.thresh:info tesh.fmt:%m%n" file1.tesh file2.tesh\r
> Test unit from file1.tesh\r
> [file1.tesh:3] ./job\r
> [file1.tesh:3] ./job : NOK (returned code `0' instead `1')\r
> Output of <file1.tesh:3> so far: \r
> ||Hello Tesh\r
> ||\r
-> Test unit `(file1.tesh)' : NOK (exit code mismatch)\r
-> Test unit from file2.tesh\r
-> Test unit from file2.tesh INTR\r
+> Test unit `file1.tesh': NOK (<file1.tesh:3> exit code mismatch)\r
\r
< ! expect return 1\r
< > Hello Tesh\r
! expect return $EEXITCODENOTMATCH\r
\r
# in this case the option `keep-going' is specified so, Tesh execute all the other units.\r
-$ ./tesh --log='log.thresh:info tesh.fmt:%m%n' file1.tesh file2.tesh --keep-going\r
+$ ./tesh --log="log.thresh:info tesh.fmt:%m%n" file1.tesh file2.tesh --keep-going\r
> Test unit from file1.tesh\r
> [file1.tesh:3] ./job\r
> [file1.tesh:3] ./job : NOK (returned code `0' instead `1')\r
> Output of <file1.tesh:3> so far: \r
> ||Hello Tesh\r
> ||\r
-> Test unit `(file1.tesh)' : NOK (exit code mismatch)\r
+> Test unit `file1.tesh': NOK (<file1.tesh:3> exit code mismatch)\r
> Test unit from file2.tesh\r
> [file2.tesh:3] ./job\r
> [file2.tesh:7] ./job\r