From: zab Date: Wed, 7 Apr 2004 17:31:23 +0000 (+0000) Subject: - put the exit(1)s back in after MPI_Abort() in the hopes that MPI X-Git-Tag: 1.2.2~104 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=94019f04d0103e90fd12f041763da20518308882;p=fs%2Flustre-release.git - put the exit(1)s back in after MPI_Abort() in the hopes that MPI implementations which don't exit in MPI_Abort() will honor the exit(1)s. --- diff --git a/lustre/tests/write_append_truncate.c b/lustre/tests/write_append_truncate.c index 7bfb121..d977b89 100644 --- a/lustre/tests/write_append_truncate.c +++ b/lustre/tests/write_append_truncate.c @@ -60,6 +60,7 @@ void rprintf(int rank, int loop, const char *fmt, ...) vprintf(fmt, ap); MPI_Abort(MPI_COMM_WORLD, 1); + exit(1); /* shouldn't be needed, but some MPI_Abort()s are broken */ } int main(int argc, char *argv[]) diff --git a/lustre/tests/write_disjoint.c b/lustre/tests/write_disjoint.c index c9ffae6..0be27e9 100644 --- a/lustre/tests/write_disjoint.c +++ b/lustre/tests/write_disjoint.c @@ -37,6 +37,7 @@ void rprintf(int rank, int loop, const char *fmt, ...) vprintf(fmt, ap); MPI_Abort(MPI_COMM_WORLD, 1); + exit(1); /* shouldn't be needed, but some MPI_Abort()s are broken */ } int main (int argc, char *argv[]) {