From: nic Date: Fri, 25 Feb 2005 21:38:23 +0000 (+0000) Subject: abort with -1 to get a non zero exit code X-Git-Tag: v1_8_0_110~486^7~184 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=b2c82b7d3f94ec02a48696cd21f8ea4d5e80f996;p=fs%2Flustre-release.git abort with -1 to get a non zero exit code --- 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[]) {