Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Change the directory to the directory defined by the variable teshexample_dir. If...
[simgrid.git] / tools / tesh2 / examples / keep-going.tesh
index a1a2032..7cd7929 100644 (file)
@@ -63,16 +63,14 @@ $ cat > file2.tesh
 ! 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
@@ -119,14 +117,14 @@ $ cat > file2.tesh
 ! 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