Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Remove spurious spaces in tesh output.
authorArnaud Giersch <arnaud.giersch@iut-bm.univ-fcomte.fr>
Mon, 28 Oct 2013 09:40:19 +0000 (10:40 +0100)
committerArnaud Giersch <arnaud.giersch@iut-bm.univ-fcomte.fr>
Mon, 28 Oct 2013 11:13:06 +0000 (12:13 +0100)
tools/tesh/catch-return.tesh
tools/tesh/catch-signal.tesh
tools/tesh/run_context.c

index 94bf5c8..ea794f1 100644 (file)
@@ -21,7 +21,7 @@ $ ../tesh --enable-coverage --log='log.thresh:info tesh.fmt:%m%n'
 > Test suite from stdin
 > [(stdin):1] ./return1
 > Test suite `(stdin)': NOK (<(stdin):1> returned code 1)
-> Output of <(stdin):1> so far: 
+> Output of <(stdin):1> so far:
 > ||
 
 $ cd ..
index 7cde981..5c7b45f 100644 (file)
@@ -22,7 +22,7 @@ $ ../tesh --enable-coverage --log='log.thresh:info tesh.fmt:%m%n'
 > Test suite from stdin
 > [(stdin):1] ./segfault
 > Test suite `(stdin)': NOK (<(stdin):1> got signal SIGSEGV)
-> Output of <(stdin):1> so far: 
+> Output of <(stdin):1> so far:
 > ||
 
 $ cd ..
index 4bf6786..5768cf9 100644 (file)
@@ -869,7 +869,7 @@ void *rctx_wait(void *r)
     xbt_dynar_t a = xbt_str_split(rctx->output_got->data, "\n");
     char *out = xbt_str_join(a, "\n||");
     xbt_dynar_free(&a);
-    XBT_INFO("Output of <%s> so far: \n||%s", rctx->filepos, out);
+    XBT_INFO("Output of <%s> so far:\n||%s", rctx->filepos, out);
     free(out);
   } else if (rctx->output == e_output_check
              && (rctx->output_got->used != rctx->output_wanted->used
@@ -891,7 +891,7 @@ void *rctx_wait(void *r)
     xbt_dynar_t a = xbt_str_split(rctx->output_got->data, "\n");
     char *out = xbt_str_join(a, "\n||");
     xbt_dynar_free(&a);
-    XBT_INFO("Here is the (ignored) command output: \n||%s", out);
+    XBT_INFO("Here is the (ignored) command output:\n||%s", out);
     free(out);
   }