From 94019f04d0103e90fd12f041763da20518308882 Mon Sep 17 00:00:00 2001 From: zab Date: Wed, 7 Apr 2004 17:31:23 +0000 Subject: [PATCH] - 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. --- lustre/tests/write_append_truncate.c | 1 + lustre/tests/write_disjoint.c | 1 + 2 files changed, 2 insertions(+) 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[]) { -- 1.8.3.1