X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/2e9105988280d1e88b5b496d6e2eed4c8d541883..6d14c1b85abceee6c22915a6d8e8c4d49e8f3b03:/tools/tesh/tesh.c diff --git a/tools/tesh/tesh.c b/tools/tesh/tesh.c index 0c8b21b44e..e8aac13fa9 100644 --- a/tools/tesh/tesh.c +++ b/tools/tesh/tesh.c @@ -1,6 +1,6 @@ /* TESH (Test Shell) -- mini shell specialized in running test units */ -/* Copyright (c) 2007, 2008, 2009, 2010. The SimGrid Team. +/* Copyright (c) 2007-2014. The SimGrid Team. * All rights reserved. */ /* This program is free software; you can redistribute it and/or modify it @@ -20,7 +20,7 @@ XBT_LOG_NEW_DEFAULT_CATEGORY(tesh, "TEst SHell utility"); int timeout_value = 5; /* child timeout value */ int sort_len = 19; /* length of the prefix to sort */ char *option; -int coverage = 0; /* whether the code coverage is enable */ +int coverage = 0; /* whether the code coverage is enabled */ rctx_t rctx; const char *testsuite_name; @@ -141,7 +141,6 @@ static void handle_suite(const char *filename, FILE * IN) } else { to_be_continued = 1; line[linelen - 2] = '\0'; - linelen -= 2; if (!buff->used) buffbegin = line_num; }