parent
2c224e0ee8
commit
c9d6c2316e
|
@ -2161,12 +2161,12 @@ int main(int argc, char **argv) {
|
|||
fflush(stdout);
|
||||
}
|
||||
|
||||
strcpy(testdir, testdirpath);
|
||||
int pos = sprintf(testdir, "%s", testdirpath);
|
||||
if ( testdir[strlen( testdir ) - 1] != '/' ) {
|
||||
strcat(testdir, "/");
|
||||
pos += sprintf(& testdir[pos], "/");
|
||||
}
|
||||
strcat(testdir, TEST_DIR);
|
||||
sprintf(testdir, "%s.%d", testdir, j);
|
||||
pos += sprintf(& testdir[pos], "%s", TEST_DIR);
|
||||
pos += sprintf(& testdir[pos], ".%d", j);
|
||||
|
||||
if (verbose >= 2 && rank == 0) {
|
||||
printf( "V-2: main (for j loop): making testdir, \"%s\"\n", testdir );
|
||||
|
|
Loading…
Reference in New Issue