-#! ./tesh\r
-\r
-# This suite must be functional because we changed the timeout value to 10\r
-# before sleeping 6 secs.\r
-\r
-! expect return $ECMDTIMEDOUT\r
-< ! timeout 1\r
-< $ sleep 6\r
-$ ./tesh --log="log.thresh:info tesh.fmt:%m%n"\r
+#! ./tesh
+
+# This suite must be functional because we changed the timeout value to 10
+# before sleeping 6 secs.
+
+! expect return $ECMDTIMEDOUT
+< ! timeout 1
+< $ sleep 6
+> Test unit from stdin
+> [stdin:2] sleep 6
+> [stdin:2] `sleep 6' timed out after 1 sec
+> [stdin:2] Kill the process `sleep 6'
+> [stdin:2] No output before timeout
+> Test unit `(stdin)' : NOK (command timed out)
+$ ./tesh --log='log.thresh:info tesh.fmt:%m%n'