Whamcloud - gitweb
b=18956
[fs/lustre-release.git] / lustre / tests / mpi / write_disjoint.c
similarity index 98%
rename from lustre/tests/write_disjoint.c
rename to lustre/tests/mpi/write_disjoint.c
index e02287d..9b28d60 100644 (file)
@@ -193,7 +193,7 @@ int main (int argc, char *argv[]) {
 
                         for (i = 0; i < noProcessors; i++) {
                                 char command[4096];
-                                int j;
+                                int j, rc;
                                 if (!memcmp(read_buf + (i * CHUNK_SIZE(n)),
                                             chunk_buf[i], CHUNK_SIZE(n)))
                                         continue;
@@ -218,7 +218,7 @@ int main (int argc, char *argv[]) {
                                 }
 
                                 sprintf(command, "od -Ad -a %s", filename);
-                                system(command);
+                                rc = system(command);
                                 rprintf(0, n, "data check error - exiting\n");
                         }
                 }