Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
sanitize the use of logs in unit testing of parmap to fix supernovae
[simgrid.git] / tools / tesh2 / examples / keep-going-unit.tesh
index 22ce9dc..b2b00cb 100644 (file)
@@ -39,14 +39,14 @@ $ gcc -o job job.c
 < ! expect return 0\r
 < > Hello Tesh\r
 < $ ./job\r
-$ ./tesh --log='log.thresh:info tesh.fmt:%m%n'\r
+$ tesh --log="log.thresh:info tesh.fmt:%m%n"\r
 > Test unit from stdin\r
 > [stdin:3] ./job\r
 > [stdin:3] ./job : NOK (returned code `0' instead `1')\r
 > Output of <stdin:3> so far: \r
 > ||Hello Tesh\r
 > ||\r
-> Test unit `(stdin)' : NOK (exit code mismatch)\r
+> Test unit `stdin': NOK (<stdin:3> exit code mismatch)\r
 \r
 \r
 # in this case the option keep-going-unit is specified so, all the command are executed.\r
@@ -71,7 +71,7 @@ $ ./tesh --log='log.thresh:info tesh.fmt:%m%n'
 < ! expect return 0\r
 < > Hello Tesh\r
 < $ ./job\r
-$ ./tesh --log='log.thresh:info tesh.fmt:%m%n'  --keep-going-unit\r
+$ tesh --log="log.thresh:info tesh.fmt:%m%n"  --keep-going-unit\r
 > Test unit from stdin\r
 > [stdin:3] ./job\r
 > [stdin:3] ./job : NOK (returned code `0' instead `1')\r
@@ -82,7 +82,7 @@ $ ./tesh --log='log.thresh:info tesh.fmt:%m%n'  --keep-going-unit
 > [stdin:11] ./job\r
 > [stdin:15] ./job\r
 > [stdin:19] ./job\r
-> Test unit `(stdin)' : NOK (exit code mismatch)\r
+> Test unit `stdin': NOK (<stdin:3> exit code mismatch)\r
 \r
 \r
 $ rm -f job\r