From b2c82b7d3f94ec02a48696cd21f8ea4d5e80f996 Mon Sep 17 00:00:00 2001 From: nic Date: Fri, 25 Feb 2005 21:38:23 +0000 Subject: [PATCH] abort with -1 to get a non zero exit code --- lustre/tests/write_append_truncate.c | 2 +- lustre/tests/write_disjoint.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lustre/tests/write_append_truncate.c b/lustre/tests/write_append_truncate.c index 7bfb121..8f95043 100644 --- a/lustre/tests/write_append_truncate.c +++ b/lustre/tests/write_append_truncate.c @@ -59,7 +59,7 @@ void rprintf(int rank, int loop, const char *fmt, ...) vprintf(fmt, ap); - MPI_Abort(MPI_COMM_WORLD, 1); + MPI_Abort(MPI_COMM_WORLD, -1); } int main(int argc, char *argv[]) diff --git a/lustre/tests/write_disjoint.c b/lustre/tests/write_disjoint.c index fb49be3..723ce4c 100644 --- a/lustre/tests/write_disjoint.c +++ b/lustre/tests/write_disjoint.c @@ -36,7 +36,7 @@ void rprintf(int rank, int loop, const char *fmt, ...) vprintf(fmt, ap); - MPI_Abort(MPI_COMM_WORLD, 1); + MPI_Abort(MPI_COMM_WORLD, -1); } int main (int argc, char *argv[]) { -- 1.8.3.1