Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
buglet
authormquinson <mquinson@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Mon, 4 Jun 2007 08:30:45 +0000 (08:30 +0000)
committermquinson <mquinson@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Mon, 4 Jun 2007 08:30:45 +0000 (08:30 +0000)
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@3545 48e7efb5-ca39-0410-a469-dd3cf9ba447f

tools/tesh/tesh.c

index 19557d1..bf02bf5 100644 (file)
@@ -23,8 +23,6 @@ int timeout_value = 5; /* child timeout value */
 
 char *testsuite_name;
 static void handle_line(const char * filepos, char *line) {
-  int pos;
-
   /* Search end */
   xbt_str_rtrim(line+2,"\n");
 
@@ -59,7 +57,7 @@ static void handle_line(const char * filepos, char *line) {
        char buff[256];
        strerror_r(errno, buff, 256);
 
-       perror(bprintf("Chdir to %s failed: %s",dir+pos+2,buff));
+       perror(bprintf("Chdir to %s failed: %s",dir,buff));
        ERROR1("Test suite `%s': NOK (system error)",testsuite_name);    
        exit(4);
       }