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 / catch-signal.tesh
index 5a11512..c2e425d 100644 (file)
@@ -17,13 +17,13 @@ $ gcc -o segfault segfault.c
 
 ! expect return $EUNXPSIG
 < $ ./segfault
-$ ../tesh --log='log.thresh:info tesh.fmt:%m%n'
+$ ../tesh --log="log.thresh:info tesh.fmt:%m%n"
 > Test unit from stdin
 > [stdin:1] ./segfault
 > [stdin:1] `./segfault' : NOK (unexpected signal `SIGSEGV' caught)
 > Output of <stdin:1> so far: 
 > ||
-> Test unit `(stdin)' : NOK (unexpected signal caught)
+> Test unit `stdin': NOK (<stdin:1> unexpected signal caught)
 
 $ cd ..
 $ rm -rf temp_testdir