From: Arnaud Giersch Date: Mon, 28 Oct 2013 09:40:19 +0000 (+0100) Subject: Remove spurious spaces in tesh output. X-Git-Tag: v3_10_rc1~65 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/759a664d841f822ebac465e209f12079ccd55754 Remove spurious spaces in tesh output. --- diff --git a/tools/tesh/catch-return.tesh b/tools/tesh/catch-return.tesh index 94bf5c854e..ea794f1bbb 100644 --- a/tools/tesh/catch-return.tesh +++ b/tools/tesh/catch-return.tesh @@ -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 .. diff --git a/tools/tesh/catch-signal.tesh b/tools/tesh/catch-signal.tesh index 7cde9813b1..5c7b45f05e 100644 --- a/tools/tesh/catch-signal.tesh +++ b/tools/tesh/catch-signal.tesh @@ -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 .. diff --git a/tools/tesh/run_context.c b/tools/tesh/run_context.c index 4bf6786e2f..5768cf986f 100644 --- a/tools/tesh/run_context.c +++ b/tools/tesh/run_context.c @@ -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); }