! 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
! 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